I am creating an iPad, I would like to have only two orientations: lanscape right and left (not portrait) … I have already changed. plist file but what should I write in code?
- (BOOL) shouldAutorotateToInterfaceOrientation: (UIInterfaceOrientation) {interfaceOrientation
return??
}
Try this method: