Privacy - Photo Library Usage Description Type string Mentioned in Requesting Authorization for Media Capture on macOS Discussion If your app only adds assets to the photo library and does not read assets, use the NSPhotoLibraryAddUsageDescription key instead. Important This key...
只需按照这些简单的说明操作即可。您将能够看到您的NSPhotoLibraryUsageDescription字符串是否已更新。 诚然,这对于 @ss 来说可能是一个痛苦,而且您是在 expo 环境之外执行的,但它解决了在再次发布到商店之前想知道字符串是否已更新的问题。 祝你好运。希望有帮助。
问题二解决:在iOS11及以上需要添加NSPhotoLibraryAddUsageDescription权限,才能写数据到系统相册 iOS11以前: NSPhotoLibraryUsageDescription:访问相册和存储照片到相册(读写),会出现用户授权。 iOS11之后: NSPhotoLibraryUsageDescription:无需添加。默认开启访问相册权限(读),无需用户授权。 NSPhotoLibraryAddUsageDescriptio...
添加NSPhotoLibraryAddUsageDescription之后它就可以工作了,即使我已经有了NSPhotoLibraryUsageDescription。 我读过它们,一个从 iOS6 开始支持,一个 iOS11,但 Apple 没有提到它们之间的区别。https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//...
Xcode8.0后,这些字段必须强制加上,第一:会导致程序崩溃;第二:审核不通过。NSContactsUsageDescription -> 通讯录 NSMicrophone...
the app uses this data.iOS11以前:NSPhotoLibraryUsageDescription:访问相册和存储照片到相册(读写),会出现用户授权。iOS11之后:NSPhotoLibraryUsageDescription:无需添加。默认开启访问相册权限(读),无需用户授权。NSPhotoLibraryAddUsageDescription: 添加内容到相册。(写),会出现用户授权。
大概意思就是得在plist里面必须加上NSPhotoLibraryUsageDescription和NSCameraUsageDescription的键值对才行,之前都是默认的,现在必须加,要不不让通过,真是坑啊~~具体配置如下图: 大概统计了一下需要加的一些字段列在下面: NSContactsUsageDescription -> 通讯录 ...
This app attempts to access privacy-sensitive data without a usage description. The app’s Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data. 大概意思就是得在plist里面必须加上NSPhotoLibraryUsageDescription和NSCameraUsageDe...
<key>NSMotionUsageDescription</key> <string>My description about why I need this capability</string> NFC(近场通信): <key>NFCReaderUsageDescription</key> <string>My description about why I need this capability</string> 照片库: <key>NSPhotoLibraryUsageDescription</key> <string>My description...
The app's Info.plist must contain an NSPhotoLibraryAddUsageDescription key with a string value explaining to the user how the app uses this data. 解决方案 Info.plist 里面要涉及隐私数据时要添加一句“提示语”。打开 Info.plist 点击 + 号,在 Key 中输入:Privacy - Photo Library Additions Usage ...