UIImagePickerController *camera = [UIImagePickerController new];
camera.sourceType = UIImagePickerControllerSourceTypeCamera;
camera.mediaTypes = @[(NSString *)kUTTypeMovie];
[camera setVideoQuality:UIImagePickerControllerQualityTypeMedium];
camera.videoMaximumDuration = 180;
camera.delegate = self;
我们正在添加摄像头控制器来录制视频,但是它在结束后仍显示视频预览,我只想删除此预览选项。