IOS:在iPad中影响curl作为地图
在iPad地图中有curl效果; 我有两个问题:
1-实现相同效果的方法是什么,但我想要完全curl而不是局部
2-右下角的翻盖,只是图形效果? 或者我可以用代码做到这一点?
你看过UIPageViewController了吗? 它在iOS5中添加,可能会引导您朝着正确的方向前进。
还有一个涉及curl的UIViewAnimationTransition,但它从一个视图到另一个视图 – 不像地图那样。
[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES]; [UIView commitAnimations]