问题
What Apple says about Private APIs
. How can a user test his/her application if it contains Private API
s. What are the steps Apple has suggested users to test there apps for Private API
s and other reason for an app could get rejected ?
A link or a tutorial would help.
note: i have used AppScanner
but it crashes when i upload the .app file. (So it doesn't work)
回答1:
The best way is to use Apple's validate step after you make an archive. Other than that, if it compiles without calls to KVC for Apple APIs, it should be good. On that note, there are many public libraries that successfully use some private APIs that Apple does not reject.
来源:https://stackoverflow.com/questions/9815498/detecting-private-apis