1. 使用条件: 在UITableViewController中使用
2.可以通过代码 :
[self.refreshControl addTarget:self action:@selector(refreshControlAction:) forControlEvents:UIControlEventValueChanged];
- (void)refreshControlAction:(UIRefreshControl *)sender {
[self.tableView reloadData];
[sender endRefreshing];
}
3.通过SB : 在UITableViewController 的属性中 refresh 勾选 enable
iOS - Storyboard 使用 UIRefreshControl 下拉刷新
原文:http://www.cnblogs.com/aLaWish/p/5200285.html