7

I want to have a custom view for UIActivityIndicatorView 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.

Rolando Isidoro
  • 4,983
  • 2
  • 31
  • 43
Abhinav
  • 37,684
  • 43
  • 191
  • 309

4 Answers4

7

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

Lou Franco
  • 87,846
  • 14
  • 132
  • 192
Jhaliya - Praveen Sharma
  • 31,697
  • 9
  • 72
  • 76
3

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

Irfan
  • 4,301
  • 6
  • 29
  • 46
Or Ron
  • 2,313
  • 20
  • 34
0

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.

Deepak Danduprolu
  • 44,595
  • 12
  • 101
  • 105
-2

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

RandomGuy
  • 127
  • 1
  • 6