ios - Get device specifications from UDID -
is possible device's specifications udid? instance, if it's ipad or iphone.
or udids random?
you can't udid of device, see link
however, can device's specifications (ios version, model name...) uidevice instance:
var mydevice = uidevice.currentdevice()
about device type (iphone/ipad): ios < 8, can check
if (ui_user_interface_idiom() == uiuserinterfaceidiompad)
with ios>= 8, can retrieve info uitraitcollection, property userinterfaceidiom
Comments
Post a Comment