Can anyone explain me what’s going on? I use this method
- (BOOL)shouldAutorotateToInterfaceOrientation:( UIInterfaceOrientation)interfaceOrientation
{
return ( UIInterfaceOrientationIsLandscape( interfaceOrientation ) );
}
to provide landscape orientation for the matchmakerViewController. It works perfectly on iPhone and even on iPad simulator but not on iPad device. When i run the application on iPad matchmakerViewController misteriously appear in the portrait orientation. What’s wrong? How do i fix it? Thanks
Change your
shouldAutorotateToInterfaceOrientationlikeAlso check your application plist file, there will be a key like Supported Interface Orientations it’s type will be array and will have 4 values. Delete the portrait modes from the plist and save it.
It will work. Please check this.