IPhone sdk - owner name?

Is there a way in iPhone sdk to get the name of the contact that owns the phone? I see that my application has been jailbroken and I would like to update a release that checks if it is a jailbroken version and then displays the following:

Hello (person's name). I see that you are using the hacked version of (Application Name). If you like this app, please support me by purchasing it.

+2


source to share


3 answers


Like the previous poster, you cannot get the username. You can, however, get the phone number by doing

[[NSUserDefaults standardUserDefaults] objectForKey: @ "SBFormattedPhoneNumber"]



Taken from here

Also in regards to copy protection: the problem with copy protection of iPhone apps is that Apple does not provide public documents for the distribution format or anything even remotely linked. So if you base your checks on these undocumented things, you are really juggling in the minefield. Ultimately, Apple must really fix this broken system.

+3


source


StackOverflow: Reducing iPhone Application Piracy



+4


source


This is not available as a privacy issue.

(I know there's some irony in there, considering that your user just hacked your app, but I'm digressing ...)

There is a lot of discussion about anti-cracking measures. ArsTechnica contains a story about one developer. Try Google or Apple Dev Forums ( thread ).

+1


source







All Articles