简体   繁体   中英

Set statusbar to hidden in C4

Since iOS7 I have had a hard time hiding the status bar in apps. I've tried most of the tricks in another thread on SO and I am still unable to hide the status bar. How might I do this in C4?

As per that question , there's a trick listed as one of the answers that states:

- (BOOL)prefersStatusBarHidden {
    return YES;
}

You'll want to add this to your workspace.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM