PDA

View Full Version : iPhone orientation....




sujithkrishnan
Jun 10, 2008, 04:48 AM
Hi all...


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

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

I made use of this method... still the application is in portrait view all time...