开发者

UIModalTransitionStyleFlipHorizontal

When using the above, it scrolls the new view vertically up the screen, and dismisses it by scrolling the view down the screen. Why is this, and how do I overcome this? (Especially since it should be a horizontal animation)

My code is as follows:

- (IBAction)infoButtonPressed:(id)sender {
InfoViewController *infoViewController = [[InfoView开发者_运维问答Controller alloc] initWithNibName: @"DAandPAInfo" bundle: [NSBundle mainBundle]];
self.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController: infoViewController animated: YES];
[infoViewController release];

}


I realised my mistake.

infoViewController.modalTransitionStyle = ...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜