Skip to content

Instantly share code, notes, and snippets.

@CastIrony
Created July 5, 2012 20:48
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save CastIrony/3056322 to your computer and use it in GitHub Desktop.
Save CastIrony/3056322 to your computer and use it in GitHub Desktop.
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[JBViewController alloc] initWithNibName:@"JBViewController" bundle:nil];
self.window.rootViewController = self.viewController;
// ADD THIS LINE:
[self.window setTransform:CGAffineTransformMakeScale(0.81, 0.81)];
[self.window makeKeyAndVisible];
return YES;
}
@fzwo
Copy link

fzwo commented Jul 10, 2012

Independent of you, I've had the same idea. I've added a small hack that also shrinks the keyboard, if you're interested: https://gist.github.com/3057214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment