Create custom activity indicator in iPhone SDK?

后端 未结 3 1889
眼角桃花
眼角桃花 2021-01-05 19:13

I haven\'t found any references to apps that use a custom activity indicator -- would be an animated GIF old-school -- in place of the Apple-supplied spinning wheels. Are th

相关标签:
3条回答
  • 2021-01-05 19:57

    The UIImageView class supports animation. Try that.

    0 讨论(0)
  • 2021-01-05 20:08

    Yeah, as Ed Marty mentioned UIImageView supports the animation of images. So look at this custom activity indicator tutorial to get an inspiration how you could achieve this in a very simple way.

    Cheers

    0 讨论(0)
  • 2021-01-05 20:10

    Or you can use an animation to rotate the layer. Here is an interesting post about how to do that :

    http://www.cimgf.com/2008/10/25/core-animation-tutorial-slider-based-layer-rotation/

    Hope this helps.

    Thierry

    0 讨论(0)
提交回复
热议问题