【发布时间】:2012-05-24 12:25:54
【问题描述】:
谁能告诉下面这段代码 sn-p 的块动画等效?
[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:0.75];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight
forView:self.navigationController.view cache:NO];
NextViewController *next = [[NextViewController alloc]
initWithNibName:@"NextViewController" bundle:nil];
[self.navigationController pushViewController:next animated:YES];
[next release];
[UIView commitAnimations];
【问题讨论】:
标签: iphone objective-c ios xcode objective-c-blocks