How to use activity indicator view on iPhone?

后端 未结 8 1185
太阳男子
太阳男子 2020-11-29 16:14

An activity indicator view is useful in many applications. Any ideas about how to add, activiate and dismiss an activity indicator view on iPhone?

All the methods fo

8条回答
  •  鱼传尺愫
    2020-11-29 16:27

    The documentation on this is pretty clear. It's a UIView subclass so you use it like any other view. To start/stop the animation you use

    [activityIndicator startAnimating];
    [activityIndicator stopAnimating];
    

提交回复
热议问题