How can I grab the iTunes-defined name for my iPhone/iPod device?

Posted by Christophe Porteneuve on Stack Overflow See other posts from Stack Overflow or by Christophe Porteneuve
Published on 2010-05-22T01:03:16Z Indexed on 2010/05/22 1:10 UTC
Read the original article Hit count: 357

Filed under:

Hey there,

I'm trying to get the name for an iPhone/iPod device that the user entered in their iTunes. This is not, I repeat, not, necessarily what [[UIDevice currentDevice] name] returns (or any of its other methods).

For instance, my iPhone is bound in iTunes to "iPhone 3G de Christophe…", to differentiate it from my wife's and other similar devices. That's the name I'd love to be able to grab. Is it stored anywhere on the device, and if so can I access it somehow?

Thanks!

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0