IOS:卷曲右
问题描述:
我有这样的代码:IOS:卷曲右
- (IBAction)open:(id)sender{
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[splash removeFromSuperview];
[UIView commitAnimations];
}
我有一个ImageView的“扑通”一声,我和IBAction为删除它,但我的问题是,它从左至右去除色斑,我想从右侧移除它,我该怎么办?
答
iOS中没有UIViewAnimationTransitionCurlRight和Left。
对于IOS5项目,您可以使用与iBooks App类似的新UIPageViewController。
,你可以在这里看到我的答案的链接 - Page curl - Leaves Project - Interaction elements
对于其他版本,你可以在这里找到工作,设置此卷曲: I want to use animation to imageview using UIanimationtransitioncurl right or left. Is it possible?
好运