[在iPhone 6S +上测试了我的应用后,我注意到它产生的视频仅为1080p,尽管它应该能够以4K录制。我的UIImagePickerController
设置如下:
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init]; imagePickerController.delegate = self; imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera; imagePickerController.mediaTypes = @[(NSString *)kUTTypeMovie]; imagePickerController.videoMaximumDuration = 3600.f; imagePickerController.videoQuality = UIImagePickerControllerQualityTypeHigh; [self presentViewController:imagePickerController animated:YES completion:nil];
我以为也许会有一个新的
UIImagePickerControllerQualityType
键来选择“非常高”的质量,但是“高”似乎仍然是最好的质量。有没有一种方法可以使用UIImagePickerController
启用4K记录,还是我必须使用AVFoundation
推出自己的解决方案?
[在iPhone 6S +上测试了我的应用后,我注意到它产生的视频仅为1080p,尽管它应该能够以4K录制。我的UIImagePickerController的设置如下:...
在某些iOS版本中,此问题已解决,现在可以执行