How to determine the current view bounds in split view of Ipad App?

Posted by Mahesh on Stack Overflow See other posts from Stack Overflow or by Mahesh
Published on 2010-06-09T12:30:52Z Indexed on 2010/06/09 12:32 UTC
Read the original article Hit count: 222

Filed under:
|
|

Hello friends, I have tried following code to determine current view bounds in shouldAutoRotate.. fn UIViewController *temp1 = [appDelegate.splitViewController.viewControllers objectAtIndex:1]; float screenwidth = temp1.view.bounds.size.width; float screenheight = temp1.view.bounds.size.height;

bt actually when u rotate from one mode to another, it provides the bound values of old one insted the fresh bound values..? Any one know that how to achieve it?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c