The iPhone version of my app supports UIDeviceOrientationPortraitUpsideDown and UIDeviceOrientationPortrait, but the iPad version supports all Orientat
UIDeviceOrientationPortraitUpsideDown
UIDeviceOrientationPortrait
-(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
This method is deprecated in IOS 6 so instead of it you can use below method.
IOS 6
-(NSUInteger)supportedInterfaceOrientations { return UIInterfaceOrientationMaskAll; }
return orientation according to you.