Getting a crash due to NSXPCDecoder didHideZoomSlider on iOS 8 after taking a picture

285 views Asked by At

Any idea what this crash is all about?In my iOS app I am using an ImagePickerController to launch the camera.After I take a few images it crashes saying this:-

[NSXPCDecoder didHideZoomSlider:]: unrecognized selector sent to instance

Here is the code that I am using

    UIImagePickerController *imagePickerController = [[UIImagePickerController alloc]
                                                      init];
#if TARGET_IPHONE_SIMULATOR
    imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
#else
    imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera;
#endif
    imagePickerController.editing = YES;
    imagePickerController.delegate = (id)self;
    [self presentViewController:imagePickerController animated:YES completion:nil];
0

There are 0 answers