iPhone appstore account name programmatically
Is there a way in the iphone 开发者_如何学运维sdk to retrieve the name of the account which bought the application programmatically?
With account name I mean the name you use to login into iTunes.
Edit
To make it more clear, I mean the account name you can find under your iPhone settings under 'Store'.Edit
Might it be accessible trough NSUserDefaults?There is no documented way to do this, and if you try and hack around it, you may find yourself rejected by the AppStore reviewers. Apple tries to protect its customers info.
I have an addition to the question: Is there a way at least to confirm (programmatically) that the application was purchased from AppStore? Or, maybe, there is a way to get a list of devices IDs from AppStore that purchased my app?
The reason is the willing to determine if the application was legally purchased or not...
精彩评论