Question

In 3.0 they have Auto-Fill for Safari. You go into the settings app to turn it on, and it needs to tie into an entry in the Address Book.

I went into the Settings app to set up mine, and I noticed that it already had guessed who I was. Was it doing this using something in the API? If so, how do I access this function?

My iPhone syncs up to Address Book on my Mac, and the desktop app knows who I am. Does the iPhone now look at this same property?

Was it helpful?

Solution

Unfortunately, there is no public API for identifying who the owner of the phone is.

If this is something you would like I recommend filing a bug report with the Apple developer connection.

Otherwise, (while I don't recommend it) you might be able to infer from the array returned from [[NSHost currentHost] names] who the device owner is.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top