跳转应用设置界面
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
****************************
如果未允许开启摄像头,直接设置摄像头,会发生闪退:
-
#1467 NSInvalidArgumentException*** -[AVCaptureMetadataOutput setMetadataObjectTypes:] Unsupported type found - use -availableMetadataObjectTypes
做难事必有所得