Apple and private APIs

后端 未结 7 856
你的背包
你的背包 2021-01-02 11:13

Now that it\'s public knowledge that App Store submissions are being tested for use of private APIs, I need to ask the question... what exactly is a private API so that I ma

相关标签:
7条回答
  • 2021-01-02 12:16

    A private API is an API that is not documented in the SDK. For instance, a framework class might declare a method that is not intended to be used by outside developers. The behavior of a private API is not guaranteed. You can't even be sure that the method will be there in the future updates of the platform. Its declaration is probably not available in publicly distributed SDK header files. If you stick to things publicly defined in the SDK documentation, you'll be OK.

    0 讨论(0)
提交回复
热议问题