Custom size app screen on iPad

Posted by mosdev on Stack Overflow See other posts from Stack Overflow or by mosdev
Published on 2010-04-09T18:42:50Z Indexed on 2010/04/09 18:43 UTC
Read the original article Hit count: 338

Filed under:
|

I am trying to create a mid-size screen for my app on iPad.

In didFinishLaunchingWithOptions(), I do this:

CGRect winRect = CGRectMake(100,100,500,500); navController.view.frame = winRect;

the screen comes up fine and I can click around and do stuff until the orientation changes. It takes the screen to original full size - how can I make it stick to my winRect frame? I tried setting the parentViewController.view.frame/view.frame to winRect in willRotateToInterfaceOrientation() but no good.

Any ideas?

Thanks.

© Stack Overflow or respective owner

Related posts about ipad

Related posts about iphone