Apple and private APIs

后端 未结 7 912
你的背包
你的背包 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:09

    You will find it difficult to use a private API by accident. They are not documented within the SDK docs, and they don't show up in XCode's code completion suggestions.

    The reason this has become news recently is the creator of a framework used by several apps used a private API, so when developers who included his framework updated their apps, they were rejected (even though THOSE developers didn't use a private API, the framework they added to their application did).

    That's about the only way you could possibly use a private API accidentally.

提交回复
热议问题