ios - "Access your photos"权限对话框显示在错误的 View 中

标签 ios uiimagepickercontroller

我正在尝试在 IOS 中更改用户的个人资料图片,因为用户可以从图库中选择图片。但是,当我使用 UIPickerController 访问图库时,它会请求访问照片的权限;但权限警报 View 会在应用程序的不同 View 中弹出。 如何始终允许访问我的应用中的照片或解决此弹出问题?

最佳答案

无法以编程方式强制访问照片。隐私问题!

关于ios - "Access your photos"权限对话框显示在错误的 View 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29815786/

相关文章:

flash - 我的 Flash 调试器的地址是什么?

ios - 如何避免一次创建 2 个 View

ios - 将 ios 3rd 方 APIS 转换为 64 位架构

iphone - 相机叠加图片

ios - 没有调用目标为 nil 的 UIButton 函数?

ios - 显示进度步骤对话框

ios - iPhone 中的 UIImagePickerController 问题?

ios - 在 Swift 中使用 uiimagePickerController 在同一 View Controller 中选取两个不同的图像

iphone - 电影项目的 UIImagePickerController

ios - 为 UIImagePickerController 设置尺寸 "move and scale"cropbox