Skip to content

Instantly share code, notes, and snippets.

@hachinobu
Created March 26, 2014 08:55
Show Gist options
  • Save hachinobu/9779121 to your computer and use it in GitHub Desktop.
Save hachinobu/9779121 to your computer and use it in GitHub Desktop.
ステータスバー領域を含む画面の領域とステータスバー領域を含まない画面の領域の取得方法
//ステータスバー領域を含む画面の領域
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