// 上拉加载
- (void)setTableView
{
[_tableView addPullToRefreshWithActionHandler:^{
// 请求数据方法
[self _requestData];
}position:SVPullToRefreshPositionBottom];
}
// 当请求网络结束时调用停止方法。
[_tableView.pullToRefreshView stopAnimating];
[iOS-GQiang]iOS SVPullRefresh 开源上拉加载使用方法。
最新推荐文章于 2016-09-23 16:28:47 发布