0

以下是我使用 IPC 的方式:

ipc = nil; // reset (camera may be running)
ipc = [[UIImagePickerController alloc] init];
[ipc setDelegate:self];

ipc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;

[self presentViewController:ipc animated:YES completion:^(void){
    [self cancelShoot];
}];

它在带有 iOS 6 的 3GS 上运行良好,我在 iOS 7 模拟器上也没有问题。在 iOS 7 设备(iPod 5 gen、iPhone 4、iPhone 5)上测试时,它总是崩溃。

我应该注意的最新操作系统有什么新内容吗?

4

1 回答 1

0

“ipc”是指针吗?鉴于您设置 sourceType 的方式,它看起来不是..

于 2013-10-18T16:47:53.447 回答