Apple 是否允许在 iOS 应用程序中使用 sysctl.h? [英] Does Apple allow the usage of sysctl.h within iOS applications?
问题描述
Apple 是否允许在 iOS 应用程序中使用 sysctl.h?
Does Apple allow the usage of sysctl.h within iOS applications?
PS:App Scanner,第三方工具,用于检查可能的私有 API 的代码用法好像觉得还行.
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?
推荐答案
按照通常的免责声明,没有人可以告诉您审阅者会做什么,我可以肯定地说,在存储使用 sysctl
函数.
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.)
这篇关于Apple 是否允许在 iOS 应用程序中使用 sysctl.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!