Last active
August 29, 2015 13:56
-
-
Save keicoder/8838959 to your computer and use it in GitHub Desktop.
objective-c : iOS 7 상태바 감추기 (remove the status bar on iOS 7)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//iOS 7 상태바 감추기 (remove the status bar on iOS 7) | |
//1. Main.storyboard -> View Controller -> Attributes inspector -> Simulated Metrics -> set Status Bar to None | |
//2. To remove the status bar during runtime, change necessary code | |
//.m file | |
- (BOOL)prefersStatusBarHidden { | |
return YES; | |
} | |
//3. final step to remove the status bar -> Project Settings screen | |
//under Deployment Info -> Status Bar Style -> check Hide during application launch option |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment