Home > DeveloperSection > Interviews > Describe UIActivityIndicatorView in iOS.

Posted on    January-23-2016 6:22 AM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  388  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    January-23-2016 7:22 AM

UIActivityIndicatorView class is one of the class that iOS provided to create activity indicator in iOS/iPhone/iPad applications. It is available from iOS version 5.0. Main purpose of Activity Indicator is that a task is in progress. An activity indicator appears as a 'gear' that is either spinning or stopped. We can handle the activity indicator by calling the startAnimating and stopAnimating methods. If we want to hide the activity indicator after the activity indicator animation stops, we will set the hidesWhenStopped property to YES. We can also set the activity indicator color by using color property.

Don't want to miss updates? Please click the below button!

Follow MindStick