开发者

Can i rotate 3D ball UIImage? [closed]

开发者 https://www.devze.com 2023-03-20 19:09 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking f开发者_JAVA技巧or code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist

Closed 9 years ago.

Improve this question

My question in detail, it is possible to give effects of rolling simple 3D ball image in UIImageview on the floor using UiKit in Iphone. And also that image rolling feel like it really happening.


Use CGAffineTransform to rotate the image view and use the UIView animation methods to animate it.


You can assign an array of pictures and have the UIImageView animate that for you. To make it change "direction" you can rotate the image view's CoreAnimation layer.

0

精彩评论

暂无评论...
验证码 换一张
取 消