Skip to content

Instantly share code, notes, and snippets.

@GuillaumeJasmin
Created June 5, 2014 10:46
Show Gist options
  • Save GuillaumeJasmin/d4eedb4f2748aacf5525 to your computer and use it in GitHub Desktop.
Save GuillaumeJasmin/d4eedb4f2748aacf5525 to your computer and use it in GitHub Desktop.
iOS
// get screen size after screen rotation
[UIApplication sharedApplication].keyWindow.rootViewController.view.bounds.size;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment