0

请帮我找到答案,因为我在这里和许多其他网站上到处搜索。我正在使用此代码制作 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 方向的多个图像之间进行迭代。我的问题是,我的申请会被苹果接受吗?!

谢谢你的帮助

4

1 回答 1

0

仅基于此代码-我没有看到任何不这样做的理由,您没有访问任何私有 API。只要应用程序的其余部分正常工作(不会崩溃......)并且您不违反任何 Apple 的其他规则。

于 2011-07-28T04:21:04.630 回答