Objective c iOS 7上的UIImagePickerController:方形模式?

Objective c iOS 7上的UIImagePickerController:方形模式?,objective-c,uiimagepickercontroller,Objective C,Uiimagepickercontroller,我现在正在使用iOS 7,试图让UIImagePickerController允许用户选择方形模式,因为这是iOS 7中的一项功能。是否需要启用某些功能才能允许此刷卡?下面发布了相关代码,尽管这是相当标准的 UIImagePickerController *cameraView = [[UIImagePickerController alloc] init]; cameraView.sourceType = UIImagePickerControllerSourceTypeCamera; cam

我现在正在使用iOS 7,试图让UIImagePickerController允许用户选择方形模式,因为这是iOS 7中的一项功能。是否需要启用某些功能才能允许此刷卡?下面发布了相关代码,尽管这是相当标准的

UIImagePickerController *cameraView = [[UIImagePickerController alloc] init];
cameraView.sourceType = UIImagePickerControllerSourceTypeCamera;
cameraView.delegate = (id)self;
[self presentViewController:cameraView animated:YES completion:nil];

我一直在浏览那些乱七八糟的iOS 7文档,但我甚至不知道他们是否改变了开发者库——我没有看到任何新的东西。

我在Xcode中查看了iOS 7头的
UIImagePickerController
,我没有看到7.0或方形照片模式的新API。方形照片模式似乎是应用程序的一项功能,而不是将UIImagePickerController设置为“是”。 在结果dict中,使用UIImagePickerControllerEditedImage键

然后你会得到正方形的图像


我发现没有办法让用户选择他想要的格式:(

可能的重复。此外,iOS 6、7和8中似乎存在一个未修复的错误,允许编辑的屏幕实际上不允许用户移动照片。