Is there a way in the iPhone sdk to get the name of the contact who own's the phone? I see that my app has been cracked, and I would like to update a release which checks to see if it a cracked version and then display the following:
Hello (Persons name). I see you are using a cracked version of (Application Name). If you like this application, please support the me by purchasing it.
Like previous poster mentioned, you can't get the user's name. You can, however, get the phone number by doing
[[NSUserDefaults standardUserDefaults] objectForKey: @"SBFormattedPhoneNumber"]
Taken from here
Also regarding copy-protection: problem with iPhone app copy-protection is that Apple does not provide public docs for distribution format or anything even remotely related. So if you base your checks around those undocumented things, you are really juggling on a mine field. Ultimately Apple should really fix this broken system.