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

Popular posts from this blog

java - Could not locate OpenAL library -

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

sorting - opencl Bitonic sort with 64 bits keys -