Creating the UIActivityIndicatorView UI

I want to have a custom view for the UIActivityIndicatorView , and not rely on the options set by iOS. How can I create my own view here?

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

+6
source share
4 answers

Since you did not specify a case in which you want to use the activity indicator,

check out the below training blog for custom UIActivityIndicatorView ,

Custom UIActivityIndicatorView (EDIT: this link is gone)

Displaying the "Loading ..." message on the iPhone keyboard

+6
source

This is a custom UIActivityIndicator implementation from scratch ready for integration.

+2
source

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

0
source

This one looks beautiful and clean, can be easily connected to the code.

-1
source

Source: https://habr.com/ru/post/888156/


All Articles