Created
March 26, 2014 08:55
-
-
Save hachinobu/9779121 to your computer and use it in GitHub Desktop.
ステータスバー領域を含む画面の領域とステータスバー領域を含まない画面の領域の取得方法
This file contains 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
//ステータスバー領域を含む画面の領域 | |
CGRect bounds = [UIScreen mainScreen].bounds; | |
ステータスバー領域を含まない画面の領域 | |
CGRect applicationFrame = [UIScreen mainScreen].applicationFrame; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment