0

私はUIImagePickerControllerを使用してアプリでバーストモードを使用しています。より多くの画像を撮影してアプリを完了すると、アプリがクラッシュしてエラーが表示されます:

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];
             }];
        }

}

4

1 に答える 1