好吧,原来是跟 iOS 10 保存图片、调用相机一样, Info.plist 里面要涉及隐私数据时要添加一句“提示语”。于是打开 Info.plist,点击 + 号,在 Key 中输入:Privacy - Photo Library Additions Usage Description,Type 选择 String,Value 中输入你的提示语。再次 Build,运行,OK! Info.plist 中的隐私设置 Google 了...
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 D...
在iOS11中,app保存图片到用户相册时必须添加权限使用描述即NSPhotoLibraryAddUsageDescription,否则会闪退。 只需在info.plist—Property List文件中添加以下键值对即可,描述文字可以随便填但是必须不为空。 Privacy - Photo Library Additions Usage Description 或者在info.plist —Source Code中添加: <key>NSPhotoLibrary...
NSPhotoLibraryAddUsageDescription A message that tells the user why the app is requesting add-only access to the user’s photo library. iOS 11.0+ iPadOS 11.0+ visionOS 1.0+ Details Name Privacy - Photo Library Additions Usage Description Type string Discussion Important This ...
你会发现网上一大堆博客和论坛都是让你在Info.plist 里面要涉及隐私数据时要添加一句“提示语”。于是打开 Info.plist,点击 + 号,在 Key 中输入:Privacy - Photo Library Additions Usage Description,Type 选择 String,Value 中输入你的提示语。 这种方法用在iOS10 11中实行不通的,请看准报错的红色字眼:NSPhot...
You’ll see a dropdown list of options to choose from – I’d like you to scroll down and select “Privacy - Photo Library Additions Usage Description”. For the value on its right, please enter the text “We want to save the filtered photo.”...
NSPhotoLibraryUsageDescription, NSCameraUsageDescription p0L Explorer , Nov 09, 2016 Copy link to clipboard With the new intents in iOS10, will there be a ( simple ) way to configure these keys with Adobe Air, or will we have to unpack / edit info.plist / repack the .ipa ?...
Privacy - Microphone Usage Description Privacy - Camera Usage Description Privacy - Photo Library Additions Usage Description Example: Example code: self.view = HybridCamView() view.camView.onPhotoCaptureComplete = { (image: UIImage?, url: URL?, error: Error?) in Swift.print("On photo capture...
Yes, I have both NSPhotoLibraryAddUsageDescription and NSPhotoLibraryUsageDescription in my Info.plist: <key>NSPhotoLibraryAddUsageDescription</key> <string>photo library additions</string> <key>NSPhotoLibraryUsageDescription</key> <string>photo library usage</string> 0 Copy johnbrayton answer ...
<key>NSPhotoLibraryUsageDescription</key> <string>是否允许此App访问你的媒体资料库</string> <key>PHPhotoLibraryPreventAutomaticLimitedAccessAlert</key> <true/> <key>UIFileSharingEnabled</key> <true/> <key>UILaunchStoryboardName</key> 64 changes: 47 additions & 17 deletions 64 HXPhotoPicker/Contr...