具有iOS 13相机权限的iPhone 11 Pro Max [英] iPhone 11 Pro Max with iOS 13 Camera permission issue
问题描述
我的iOS应用需要从相机拍摄照片或需要从照片库中进行选择.
我在plist中有条目,然后执行"AVCaptureDevice.requestAccess
"以请求权限.
My iOS App need to take photos from camera or need to select from photo library.
I have the entries in the plist and do the "AVCaptureDevice.requestAccess
" to request permissions.
并且 App迄今为止在除iPhone 11 Pro max之外的所有iPhone中都可以正常运行.在iPhone 11 Pro max中,它不提示用户输入摄像头权限,也不会提示用户设置条目如下.
And App is working fine so far in all iPhones except iPhone 11 pro max. in iPhone 11 Pro max It does not prompt user for camera permissions and also in the settings it doesn't show and entry like below.
如果有人有解决此问题的想法,欢迎您回答.
If any one has an Idea to fix this issue you are welcome to answer.
具有iOS13.3的iPhone 8在设置页面中显示相机权限
iPhone 8 with iOS13.3 shows the camera permission in settings page
带有iOS13.3的iPhone 11 Pro max在设置页面没有摄像头权限
iPhone 11 Pro max with iOS13.3 no camera permission in settings page
推荐答案
我已找到问题的原因.这是iOS设置中的限制.
I have find the cause to the issue. it is a restriction in iOS settings.
设置>屏幕时间>内容和隐私限制>允许的应用程序>摄像头>已关闭
Settings > Screen Time > Content & Privacy Restrictions > Allowed Apps > Camera > is turned off
这篇关于具有iOS 13相机权限的iPhone 11 Pro Max的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!