【发布时间】:2011-07-28 03:00:34
【问题描述】:
请帮我找到答案,因为我在这里和许多其他网站到处搜索。我正在使用此代码制作 pageCurl 效果。
// 启动动画块
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp
forView:[self view] cache:YES];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
// 启动动画块
CGContextRef context = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:context];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown
forView:[self view] cache:YES];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration:1.0];
正如您在上面看到的,使用 UIViewAnimationTransitionCurlDown 和 UIViewAnimationTransitionCurlUp 在 LandscapeRight 和 LandscapeLeft 方向的多个图像之间进行迭代。我的问题是,我的申请会被苹果接受吗?!
感谢您的帮助
【问题讨论】:
标签: iphone uiimage landscape uiinterfaceorientation page-curl