NSPhotoLibraryUsageDescription in Xcode8

前端 未结 7 648
一向
一向 2020-12-02 14:21

Update:
I attempt to add a String value to the \"NSPhotoLibraryUsageDescription\" key.

And it works.My build version

7条回答
  •  温柔的废话
    2020-12-02 14:53

    The missing keys are related to some APIs requiring some usage descriptions defined in the .plist keys. Before adding any keys if you know that your app doesn't make any specific usage I will recommend you take a look at this official guide from Apple to identity faulty API classes. As an example I simply have a comment out on a line containing UIImagePickerController. This was enough to get the binary rejection from Apple; while I didn't access to the user photo library. Once you validated this step you can go ahead with other solutions mentioned here.

提交回复
热议问题