Ios preferences


#1

hello. is it possible to use the ipad preferences for an of app? or read something like the iOS 10 “Camera Using Description” settings?

regards


#2

ok, I used my own brain…

AVAuthorizationStatus authStatus = [AVCaptureDevice authorizationStatusForMediaType:AVMediaTypeVideo];
if(authStatus == AVAuthorizationStatusAuthorized)
{
doCam()

}else {
 doNoCam()

}