有没有办法在装有 iOS7.1 的 iPod 5gen 上设置相机照片模式全屏?当你要拍照时,照片模式不是全屏,只有视频模式是全屏,那么,有办法改变它吗? (我认为同样的问题一定会发生在 iPhone 5 及更高版本上)。
这是到目前为止我的代码,它显示控件,但部分显示,而不是全屏,并且控件与顶部对齐,因为相机控件已从 View 中删除:
self.picker = [[UIImagePickerController alloc] init];
self.picker.delegate = self;
self.picker.allowsEditing = NO;
self.picker.sourceType = UIImagePickerControllerSourceTypeCamera;
self.picker.showsCameraControls = NO;
//self.picker.mediaTypes = mediaTypes; //just for the record
self.picker.cameraCaptureMode = UIImagePickerControllerCameraCaptureModePhoto;
self.picker.modalPresentationStyle = UIModalPresentationFullScreen;
self.picker.cameraOverlayView = [self buildOverlay]; //some custom views
[self presentViewController:self.picker animated:YES completion:NULL];
提前非常感谢您。
最佳答案
关于ios - iOS7 相机拍照模式全屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22776774/