Detecting Private APIs

落爺英雄遲暮 提交于 2019-12-11 19:43:29

问题


What Apple says about Private APIs. How can a user test his/her application if it contains Private APIs. What are the steps Apple has suggested users to test there apps for Private APIs 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!