uiimagepickercontroller - 带有 UIImagePickerController 图像裁剪的 iOS 8 错误

标签 uiimagepickercontroller ios8

我的 UIImagePickerController 有问题,allowEditing = YES。
我无法从底部裁剪图像,但在移动裁剪矩形时,顶部还有一个额外的空白空间。

也在方法中。

-(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info

我记录信息,它给了我错误的 CropRect (这不是正方形!)
UIImagePickerControllerCropRect = "NSRect: {{0, 357}, {666, 646}}";
UIImagePickerControllerEditedImage = "<UIImage: 0x7f9b8aa47b30> size {640, 618} orientation 0 scale 1.000000";
UIImagePickerControllerMediaType = "public.image";
UIImagePickerControllerOriginalImage = "<UIImage: 0x7f9b8868e5a0> size {1500, 1001} orientation 0 scale 1.000000";

有没有人有这个错误,你如何修复它?

见下图
Unable to select the bottom part of image

最佳答案

我不知道怎么做,但我完全删除了 .plist 文件中的“基于 View Controller 的状态栏外观”关键行(只是完全删除了这一行),它修复了这个错误

关于uiimagepickercontroller - 带有 UIImagePickerController 图像裁剪的 iOS 8 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25989452/

相关文章:

iOS 9 UIImagePickerController statusBar 白色

objective-c - 检测 iPhone 音量按钮按住? (iOS 8)

uinavigationcontroller - iOS8中UIImagePickerController隐藏状态栏问题

authentication - 使用 Swift 进行游戏中心身份验证

xcode5 - ios 8,如何使用ALAssetLibrary获取所有照片来替换丢失的相机胶卷相册

objective-c - 使用 UIImagePickerController 选择图像后,照片库 View 停留在屏幕上

iOS - UIImagePickerController 在设备上崩溃

iphone - 视频上传的完整质量

ios - 如何在 Swift 的 TableView Controller 中使用图像选择器?

具有部分可见的下一个和上一个 View 的 iOS 滑动 View