Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sujithkrishnan

macrumors 6502
Original poster
May 9, 2008
265
0
Bangalore
Hi all...


I just want to know how to change the view of my application on changing the device orientation???

Code:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    return YES;
}

I made use of this method... still the application is in portrait view all time...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.