上記を使用すると、新しいビューが画面を垂直方向にスクロールし、画面を下にスクロールして閉じます。これはなぜですか、どうすればこれを克服できますか? (特に横向きのアニメーションのはずなので)
私のコードは次のとおりです。
- (IBAction)infoButtonPressed:(id)sender {
InfoViewController *infoViewController = [[InfoViewController alloc] initWithNibName: @"DAandPAInfo" bundle: [NSBundle mainBundle]];
self.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController: infoViewController animated: YES];
[infoViewController release];
}