知道这次崩溃是什么意思吗?在我的iOS应用程序中,我使用ImagePickerController来启动摄像头。在我拍了几张照片后,它崩溃说: -
[NSXPCDecoder didHideZoomSlider:]:无法识别的选择器发送到实例
以下是我正在使用的代码
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];