开发者

iphone image rotate only parts of the image

I have a wheel image in the centre of my iPhone application which rotates. On top of that I put an UIImageView but I do not want this to rotate. Unfortunately it is ro开发者_C百科tating as well. How can I stop this image from moving as well please?

Thanks


If you rotate a view, all subviews will rotate too. Just add the view (which shouldn't be animated) to another view as a subview.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜