开发者

How do I put information on the flipped side of the page?

How do I p开发者_如何学编程ut information on the flipped side of the page ?


The "utility application" template in XCode creates a simple application with a main view and a flipside view; take a look at that to see and example of how the "horizontal flip" transition animation works.

Assuming you've defined a controller FlipsideViewController and your view is in a nib file named FlipsideView, you might do something like:

FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil];

controller.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
[self presentModalViewController:controller animated:YES];

[controller release];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜