27 Jan 2009, 00:39
N614592285_2406_pragsmall

Chris Adamson (277 posts)

Replying to errata submitters via forums since the errata page doesn’t have a way to comment on errata or reply directly to submitters…

Is it possible to add information on how to access the iPhone’s phone number and carrier? This information would allow me to tailor my app to the user.

I’m not aware of anything like this in the public API. There are a few interesting properties in UIDevice that you might find useful, like the system version, localized device name, and a unique identifier that IDs a specific device. But most of the phone stuff is pretty much off-limits in the public SDK.

Interesting to note, BTW, that the Android platform exposes an SDK for telephony, while the iPhone SDK really hides the phone from you (if your app gets terminated, you can’t even find out if it’s because of an incoming call or the user pressing the home button).

  You must be logged in to comment