我想为 ALAssetsLibrary 权限消息添加自定义权限消息。 类似于 CLLocationManager 的目的。 我搜索了这个但没有找到任何解决方案。
任何建议都有帮助。
最佳答案
在 Info.plist 文件中,添加键值 NSPhotoLibraryUsageDescription
或 Privacy - 照片库使用说明
来自docs :
NSPhotoLibraryUsageDescription (String - iOS) describes the reason that the app accesses the user’s photo library. When the system prompts the user to allow access, this string is displayed as part of the dialog box.
iOS 6.0 and later
关于iphone - ALAssetsLibrary 权限消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16933042/