如何删除UIimage选取器上的黑色导航栏 我们使用视频模式 已编写代码隐藏导航栏和相机控件和工具栏
即
picker = [[UIImagePickerController alloc] init];
picker.sourceType = sourceType;
picker.delegate = self;
picker.allowsEditing = NO;
picker.showsCameraControls = NO;
答案 0 :(得分:1)
picker.cameraViewTransform = CGAffineTransformScale(imagePickerController.cameraViewTransform, 1, 1.32 );
试试这个你可以解决问题
picker = [[UIImagePickerController alloc] init];
picker.sourceType = sourceType;
picker.delegate = self;
picker.allowsEditing = NO;
picker.showsCameraControls = NO;
答案 1 :(得分:0)
尽可能添加此代码:
picker.wantsFullScreenLayout = YES;