---
title: "Describe UIActivityIndicatorView in iOS."  
description: "Describe UIActivityIndicatorView in iOS."  
author: "Tarun Kumar"  
published: 2016-01-23  
updated: 2020-09-05  
canonical: https://www.mindstick.com/interview/22975/describe-uiactivityindicatorview-in-ios  
category: "iphone"  
tags: ["iphone", "ios", "objective c"]  
reading_time: 2 minutes  

---

# Describe UIActivityIndicatorView in iOS.

**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.

## Answers

### Answer by Tarun Kumar

**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.


---

Original Source: https://www.mindstick.com/interview/22975/describe-uiactivityindicatorview-in-ios

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
