Tag: uiimagepickercontroller exc

UIImagePickerController EXC_BAD_ACCESS错误

我build立了我的应用程序来运行,如下所示: – (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; UIImagePickerController* picker = [[UIImagePickerController alloc] init]; self.viewController = picker; self.window.rootViewController = self.viewController; [self.window makeKeyAndVisible]; return YES; } 在图像select器出现后,我select“Camera Roll”。 之后,我按下后退button(标题为“照片”)。 应用程序崩溃,提供EXC_BAD_ACCESS错误。 当我启用僵尸对象时,收到“EXC_ARM_BREAKPOINT(子代码= 0xdefe)”错误,并显示以下日志。 或者: [UIView willRemoveSubview:]: message sent to deallocated instance 0x2088ea20 或者如果我继续进行图像select: -[PLImageScrollView willRemoveSubview:]: message sent to deallocated instance […]