title: UICollectionView UIRefreshControl Doesn't Animate After Visiting a Different View
body: <p>I have a UIRefreshControl connected to a UICollection that is defined this way for pull to refresh:</p>
  
  <pre><code>    self.refreshControl = [[UIRefreshControl alloc] init];
      [self.refreshControl addTarget:self action:@selector(startRefresh:)
      self.collectionView.alwaysBounceVertical = YES;
      [self.collectionView addSubview:self.refreshControl];
  </code></pre>
  
  <p>This works fine. However, whenever I move to a new view by either pushing a new view controller or displaying the sliding sidebar menu, and return to this view, the refresh control starts displaying the image for a control pulled all the way (i.e. it doesn't animate and shows the full circle).  However, if I pull down fully and release, the refresh control returns to normal functionality.  The control works fine, it just looks funky the first time you pull after navigating elsewhere.</p>
  
  <p>I would love any feedback on what might be going wrong. Thanks!</p>
  
  <p>This is what the image looks like when not working (note I am linking to an online image, this is not from my app so this doesn't show that the collectionview is being pulled down): </p>
  
  <p><img src="https://i.stack.imgur.com/dnIDJ.png" alt="demonstrative image"></p>
  
  <p>Posted solution below worked, but I had to do some extra work to figure out when my top view controller received focus from the sidebar menu that I was using (ECSlidingViewController): <a href="https://stackoverflow.com/questions/26130272/is-there-a-way-for-the-top-view-controller-in-ecslidingviewcontroller-to-know-wh">Is there a way for the Top View Controller in ECSlidingViewController to know when the sidebar menu has been dismissed?</a></p>