Does Apple allow the usage of sysctl.h within iOS applications?

泄露秘密 提交于 2019-12-11 03:13:08

问题


Does Apple allow the usage of sysctl.h within iOS applications?

PS: App Scanner, a third party tool that checks code for possible private-API usage seems to think it's okay.

Note: There is one more question like this : How can I know if I'm using private frameworks?


回答1:


With the usual disclaimer that nobody can tell you what a reviewer will do, I can say for sure that there are apps in the store that use sysctl functions.

(Minor point: Simply including a header isn't a problem since symbols there shouldn't be visible in your app unless they're used...it's the things you use that might get flagged rather than what's included.)



来源:https://stackoverflow.com/questions/32140756/does-apple-allow-the-usage-of-sysctl-h-within-ios-applications

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