Closed
Description
After reading all the issues I concluded that my issue is related to the issues #71 #77 #78 . I'm using autolayout so it might be connected to that. I've found a solution, which is to move the line that fixes the status bar from the viewDidDisappear to the viewWillDisappear. Also, I think a better way is to add an animation so that it all goes smoothly. Code below:
public override func viewWillAppear(animated: Bool) {
super.viewWillAppear(animated)
statusBarHidden = UIApplication.sharedApplication().statusBarHidden
UIApplication.sharedApplication().setStatusBarHidden(true, withAnimation: .Fade)
}
public override func viewWillDisappear(animated: Bool) {
super.viewWillDisappear(animated)
UIApplication.sharedApplication().setStatusBarHidden(statusBarHidden, withAnimation: .Fade)
}
Just a suggestion.
Cheers
Metadata
Metadata
Assignees
Labels
No labels