• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What iOS device?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What iOS device?


  • Subject: Re: What iOS device?
  • From: KappA <email@hidden>
  • Date: Fri, 31 Jan 2014 01:45:41 -0500

I came across this the other day. Have you already looked at this?

http://stackoverflow.com/questions/448162/determine-device-iphone-ipod-touch-with-iphone-sdk


On Fri, Jan 31, 2014 at 1:19 AM, Gerriet M. Denkmann
<email@hidden>wrote:

> 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@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: What iOS device?
      • From: Fritz Anderson <email@hidden>
    • Re: What iOS device?
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >What iOS device? (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: What iOS device?
  • Next by Date: Re: What iOS device?
  • Previous by thread: What iOS device?
  • Next by thread: Re: What iOS device?
  • Index(es):
    • Date
    • Thread