Created
April 1, 2015 05:05
-
-
Save majie1993/3904181fa54182e17203 to your computer and use it in GitHub Desktop.
Get status Bar Height in iOS 7
From http://stackoverflow.com/questions/16590369/statusbarframe-height-returns-1024-0-when-in-landscape-ipad
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
float statusBarHeight = MIN([UIApplication sharedApplication].statusBarFrame.size.height, [UIApplication sharedApplication].statusBarFrame.size.width); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment