苹果是否允许在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扫描器,它是一种第三方工具,用于检查代码中可能的private-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.)
这篇关于苹果是否允许在iOS应用程序中使用sysctl.h?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!