Skip to content

Instantly share code, notes, and snippets.

@iamdustan
Created May 9, 2014 12:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamdustan/3859feb114967a9d87bd to your computer and use it in GitHub Desktop.
Save iamdustan/3859feb114967a9d87bd to your computer and use it in GitHub Desktop.
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7) {
[application setStatusBarStyle:UIStatusBarStyleDarkContent];
self.window.clipsToBounds = YES;
self.window.frame = CGRectMake(0, 20, self.window.frame.size.width, self.window.frame.size.height - 20);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment