这是我提供UIImagePickerController的代码:
UIImagePickerController *imagepicker = [[UIImagePickerController alloc] init];
imagepicker.delegate = self;
imagepicker.view.backgroundColor = [UIColor orangeColor];
UIImagePickerControllerSourceType sourcheType = UIImagePickerControllerSourceTypePhotoLibrary;
imagepicker.sourceType = sourcheType;
imagepicker.allowsEditing = YES;
[self presentViewController:imagepicker animated:YES completion:nil];
这是发生错误的图像 这是正常的图片 这种情况发生在一台iPad(iOS 11.1.2)上,但在另一台iPad上运行正常(iOS 8.4.1)。我尝试了这些改变,但似乎都没有。