Skip to content
long edited this page Oct 19, 2020 · 1 revision

You need to add the following key-value pairs in your app's Info.plist

// If you don’t add this key-value pair, multiple languages are not supported, and the album name defaults to English
Localized resources can be mixed YES

Privacy - Photo Library Usage Description

Privacy - Camera Usage Description

Privacy - Microphone Usage Description

iOS14 相册新增limited权限

如果用户选择了limited权限,之后每次重新启动app,触发调用相册时候均会弹框询问用户是否更改app所访问相片,如果要禁止这个弹框,需要在Info.plist中添加如下键值对

Prevent limited photos access alert YES
//或者右键plist文件Open As->Source Code 添加
<key>PHPhotoLibraryPreventAutomaticLimitedAccessAlert</key>
<true/>