UIImagePickerController hiding status bar iOS 8
I want the status bar hidden in my app. In my pList I have set: Status Bar is initially hidden - YES View controller-based status bar appearance - NO This works fine until I present an UIImagePickerController. It wants to show the status bar. So in willShowViewController for the navigationController delegate I call [[UIApplication sharedApplication] setStatusBarHidden:YES]. This does in fact hide the status bar but there is a shifting like an animation in the navigationController. I've spent some time trying to stop this animation. Anyone have any ideas how to stop it? Thanks.
Try it [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];
Subclass UIImagePickerController and define prefersStatusBarHidden method, return YES if you want to hide a status bar.
It turns out that this a bug in iOS 8. I filed a radar bug and Apple suggested I try the beta 8.3. With the beta I no longer see the animation.
Swift - return variable from within closure
CoreData: Observing Property Changes Behaves Differently
App sometimes crashed on start
How can I avoid the preview of password UITextField? [duplicate]
How to change background color of UIWebBrowserView in UIWebView in iOS8 Objective C
Store a variable in a conversation in iMessage Apps
IOS 10 UIImagePickerController Delegate Not Being Called
Podfile not downloading latest Swift 3 version of pods
Navigation Controller Shows Root View in Any Case
MKPolyline displays artifact/pixelation on map after zoom-in
Custom UITableViewCell isn't released or reused after navigation, memory leak
How to load image from camera or photo library in Swift [closed]
Query Session class with cloud code Parse
Best practice for when to call requestAccess on EKEventStore
Swift 3: Passing Data Forward Doesn't Work/Crashes
How do I use NSKeyedArchiver and NSKeyedUnArchiver in Xamarin iOS?