I’d like to extend a class from UIImageView,which will infinite rotate a universe image. So I can simply put this image view as background view for other UI elements.
3 questions here:
- Is it the right way to extend from
UIImageviewclass. - How to keep rotating infinite, and as background, when put it into other views, I don’t need to write extra lines of code.
- I wrote a rough prototype, when I put it into other views as background, all UI elements in this view are rotating with the image.
1 Answer