UIImagePickerController EXC_BAD_ACCESS Error
问题 I set up my app to run like this: - (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; } After Image picker appears, I choose, for example, "Camera Roll".