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 questionMy 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.
精彩评论