我在使用UIImagePickerController的应用程序中使用 Burst 模式,当我完成应用程序并拍摄更多图像时,应用程序崩溃显示错误:
App quit Unexpectedly Terminated due to Memory Pressure
-(void) imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo: (NSDictionary *)info
{
UIImage *image = [info objectForKey:UIImagePickerControllerOriginalImage];
[arrayImages addObject:image];
if (picTaken) {
[imagePicker takePicture];
}
else
{
[imagePicker dismissViewControllerAnimated:YES completion:^{
[self imagePlace];//Where i get All Images in a View presented same as in IOS camera Video//
[[NSNotificationCenter defaultCenter] removeObserver:self];
[[NSNotificationCenter defaultCenter] removeObserver:self name:AVCaptureSessionDidStartRunningNotification object:nil];
}];
}
}