iPad前置摄像头出现问题我正在尝试从
拍摄照片 - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary<NSString *,id> *)info {
UIImage *chosenImage = info[UIImagePickerControllerOriginalImage];
NSLog(@"%d",[chosenImage imageOrientation]); }
是1表示:UIImageOrientationDown
将方向更改为向右或使用后置摄像头返回0或UIImageOrientationUp
我错过了什么吗?