title: Change Pull To Refresh Activity Indicator
body: <p>I have an <code>ActivityIndicator</code> on my <code>tableView</code> which appears when I pull to refresh.</p>
  
  <p>I was wondering if I can change the color of the spinning indicator, here is my implimentation:</p>
  
  <pre><code>override func viewDidLoad() {
       refreshData()
      super.viewDidLoad()
      self.refreshControl?.addTarget(self, action: #selector(handleRefresh(refreshControl:)), for: UIControlEvents.valueChanged)
  
  }
  
  func handleRefresh(refreshControl: UIRefreshControl) {
      self.tableView.reloadData()
      self.refreshData()
      sleep(2)
      refreshControl.endRefreshing()
  
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Jb1TO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Jb1TO.png" alt="enter image description here"></a></p>