title: iOS - Refresh Control - "Attempting to change the refresh control while it is not idle is strongly discouraged and probably won't work properly."
body: <p>I cannot find many references to this warning anywhere. I have two view controllers that offer pull-to-refresh control. One is fine. The other produces the warning above. I copied the code from one to the other.</p>
  
  <p>The code is as follows (PFUser refers to Parse.com):</p>
  
  <pre><code>[super viewDidAppear:animated];
      if ([PFUser currentUser]) {
          NSLog(@"who's the user: %@", [PFUser currentUser]);
  
  
          UIRefreshControl *refreshTable = [[UIRefreshControl alloc] init];
          refreshTable.attributedTitle = [[NSAttributedString alloc] initWithString:@"One sec... refreshing"];
          [refreshTable addTarget:self action:@selector(refresh:) forControlEvents:UIControlEventValueChanged];
          self.refreshControl = refreshTable;
  
      } else {
  </code></pre>
  
  <p>Has anyone else encountered this? and is there a work-around/fix?</p>