I have 开发者_如何学Pythona UIImageView
and I would like it to have a turning movement, like turning around something. I don't want to use UIView
animation, but something else. How can I do this please?
You could use
CGAffineTransform rotation = CGAffineTransformMakeRotation(...);
[imageView setTransform:rotation];
and change the rotation amount often enough for it to be smooth, but using Core Animation (like in this post) would be better and more optimized.
精彩评论