UIimagepickercontroller在iPhone 5 ios 6中崩溃

时间:2012-10-10 10:59:41

标签: ios crash uiimagepickercontroller iphone-5

  

“崩溃的应用程序将被拒绝:我们发现您的应用程序在运行iOS 6的iPhone 5和iPad上崩溃”

这适用于模拟器IOS 6.

self.imgPicker = [[UIImagePickerController alloc] init];
self.imgPicker.navigationBar.barStyle = UIBarStyleBlackTranslucent;
self.imgPicker.allowsImageEditing = YES;
self.imgPicker.delegate = self;
[self.imgPicker setSourceType:UIImagePickerControllerSourceTypePhotoLibrary];
[self presentModalViewController:self.imgPicker animated:YES];

Iphone 5尚未上市,我无法在真实设备上进行测试。 请帮帮我......

0 个答案:

没有答案