Created
November 30, 2015 08:26
-
-
Save czwen/97e4d7b39d19e275cf6a to your computer and use it in GitHub Desktop.
fuck when UIRefreshControl refresh manually but the tintcolor not change
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[UIView animateWithDuration:0.25 delay:0 options:UIViewAnimationOptionBeginFromCurrentState animations:^(void){ | |
self.tableView.contentOffset = CGPointMake(0, -self.refresh.frame.size.height); | |
} completion:^(BOOL finished) { | |
[self.refresh beginRefreshing]; | |
[self loadProductsList]; | |
}]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment