开发者

Creating a custom UIActivityIndicatorView

I want to have a custom view for UIActivit开发者_运维问答yIndicatorView rather than relying on options given by iOS. How can I create my own view here?

I have a list of images with me to create a animated view.


As you haven't specified the case in which you want to use the activity indicator,

check the below tutorial blog for custom UIActivityIndicatorView,

Custom UIActivityIndicatorView (EDIT: This link is gone)

Showing a "Loading..." message over the iPhone keyboard


This is implementation of custom UIActivityIndicator from scratch ready for integrating.


Abhinav, if you want to use a set of images you could as well use a UIImageView. Set the animationImages and start-stop as you wish.


This one looks nice and clean, can be hooked to the code easily too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜