I want (for logging purposes only) to know the kind of iOS device being used.
UIDevice model or localizedModel returns just "iPhone", but I want something
like "iPhone 4s" or "iPad Air" etc.
NSProcessInfo physicalMemory can be used to distinguish between some models,
but not all.
Then there is sysctlbyname("hw.model",...) but this returns cryptic stuff like:
"J71AP" or "N94AP".
Is there some official table to convert this to something more readable?
(There is <http://theiphonewiki.com/wiki/Model_definition_file> but I would
like something coming from Apple).
What else can be done?
Gerriet.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]