Abhinav
Abhinav

Reputation: 38162

Creating a custom UIActivityIndicatorView

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.

Upvotes: 7

Views: 30469

Answers (4)

RandomGuy
RandomGuy

Reputation: 127

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

Upvotes: -2

Jhaliya - Praveen Sharma
Jhaliya - Praveen Sharma

Reputation: 31730

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

Upvotes: 7

Or Ron
Or Ron

Reputation: 2343

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

Upvotes: 3

Deepak Danduprolu
Deepak Danduprolu

Reputation: 44633

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.

Upvotes: 0

Related Questions