-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/10/11 5:44 PM, Jens Alfke wrote: > I’m writing an internal app our QA engineers going to use to > capture performance metrics on various iOS devices. After running > tests, the app will upload the results to a server. In those > results I need to include enough info to identify the device, so I > want to get things like the UDID, the model ID (e.g. “iPhone 4” or > a codename that can be mapped to it), and maybe lower-level stuff > like the clock speed and RAM and whether it’s on battery power or > charging. > > I can’t find the APIs to get this sort of stuff. I was thinking > the SystemConfiguration framework, but I didn’t see anything > relevant in SCSchemaDefinitions.h. Searching the Xcode doc browser > didn’t help. Any clues? > > —Jens > > PS: I realize these may not be Cocoa APIs, but I’m not sure what > other list would be more relevant.
Check out the UIDevice class. (You probably want to use the MAC address instead of the UDID...) - -- Conrad Shultz Synthetiq Solutions www.synthetiqsolutions.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFOk5WZaOlrz5+0JdURAr8MAJ4kqfFnOCwCC+iepHClb4vknZ9hjQCfVUfo fZO2wPPnpKYBojTzmQRwfSk= =N0Iv -----END PGP SIGNATURE----- _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com