Skip to content

Instantly share code, notes, and snippets.

@Rich86man
Created September 20, 2012 23:11
Show Gist options
  • Save Rich86man/3758896 to your computer and use it in GitHub Desktop.
Save Rich86man/3758896 to your computer and use it in GitHub Desktop.
self.view.frame = CGRectMake(0, 0, DeviceSpecificSetting(480, 568), 320);
- OR -
NSInteger width = DeviceSpecificSetting(480, 568);
self.view.frame = CGRectMake(0, 0, width, 320);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment