本文介绍了局部卷曲动画后如何解卷曲?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在以这种方式进行部分页面卷曲:
I am doing a partial page curl in this way:
- (IBAction)settings:(id)sender {
Settings *go = [[[Settings alloc] initWithNibName:@"Settings" bundle:nil] autorelease];
go.modalTransitionStyle = UIModalTransitionStylePartialCurl;
[self presentModalViewController:go animated:YES];
}
如何取消动画显示?
推荐答案
只需像往常一样关闭模态视图控制器。您已经指定了 modalTransitionStyle 。
Just dismiss the modal view controller as you always do. iOS will take care of the transition as you have already specified the modalTransitionStyle.
[self dismissModalViewControllerAnimated:YES];
这篇关于局部卷曲动画后如何解卷曲?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!