EasyAR Sense 3.1.0-final-7bf6504c6
openGLView的start方法requestPermissions不走回调,当页面disappear时才走回调
[easyar_CameraDevice requestPermissions:getScheduler() permissionCallback:^(easyar_PermissionStatus status, NSString *value) {
switch (status) {
case easyar_PermissionStatus_Denied:
NSLog(@"camera permission denied");
break;
case easyar_PermissionStatus_Granted:
start();
break;
case easyar_PermissionStatus_Error:
NSLog(@"camera permission error");
break;
default:
break;
}
}]