Custom iPhone camera controls (not using UIImagePickerController)

前端 未结 4 767
灰色年华
灰色年华 2020-12-13 01:15

While I understand that in order for an iPhone application to be accepted on the App Store, one requirement is that only documented libraries are to be used.

If this

4条回答
  •  忘掉有多难
    2020-12-13 01:38

    The simple explanation is that apps in the store are not supposed to use unsupported APIs, but this is not checked consistently. The apps you mentioned are either using unsupported functions/classes/methods or else are playing with the view hierarchy-- which is itself undocumented even though it can be done with standard APIs.

    You could do what they do, and take your chances with it. Just be aware of the risks. Your app might (a) be rejected from the store, (b) be accepted but later booted (this has happened for unsupported API use), (c) be accepted and not booted but break the next time Apple has a new iPhone software update (since unsupported APIs or view hierarchies can change without warning). Or you could get lucky and have none of this happen.

提交回复
热议问题