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

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -