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?
UIActivityIndicatorView
I have a list of images with me to create an animated view.
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
This is a custom UIActivityIndicator implementation from scratch ready for integration.
Abhinav, if you want to use a set of images, you can also use UIImageView . Set animationImages and start-stop as you wish.
UIImageView
animationImages
This one looks beautiful and clean, can be easily connected to the code.
Source: https://habr.com/ru/post/888156/More articles:Sum and multiplication modulo - cRegex MatchCollection obj freezes after function timeout after Regex.Matches - c #Can I share an entire Git project through Gist? - gitGetting user password from active directory - c #How groupBy when discarding some elements of a collection - scalaDownload Raphael canvas in SVG or PDF format - svgRails, Node.js server-to-server authentication - node.jsHow to calculate the number of occurrences of a certain value in a string in R - functionIs it possible to get the kth element of the combination of m-character length in O (1)? - javaNSMutableArray does not add an object! (using addObject: and addObjectsFromArray) - objective-cAll Articles