iOS SDK - How to get the status bar back when using UIImagePickerController?
问题 As soon as I add a UIImagePickerController sub view to my view the status bar disappears and I can't get it back. Is there any way to keep the status bar visible? UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; [self.view addSubview:imagePicker.view]; [imagePicker viewWillAppear:YES]; [imagePicker viewDidAppear:YES]; [[UIApplication sharedApplication] setStatusBarHidden:NO animated:NO]; 回答1: I had