iOS7 hide status bar but not adjust top layout guide
问题 I deal with autolayout set up in Interface Builder. I want to not offset views that are pinned to top layout guide when I hide status bar in runtime. I have discovered that myViewController.topLayoutGuide.length changes from 20 to 0 when hiding status bar. How to prevent it? Or (as workaround) how to set up fullscreen view for various window sizes without pin to top layout guide? Some code to describe my situation: Log(@"frame: %@, top: %.0f", NSStringFromCGRect(myViewController.myView.frame)