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.