PullRefreshTableView更多情况是使用PullRefreshView类, 这样比较灵活。演示效果: 下拉刷新、上拉加载更多。初始化:


// 下拉刷新

self.pullDonwView = [[PullRefreshView alloc] initWithPullType:PullType_Header];

self.pullDonwView.delegate = self;

[self.pullDonwView showInScrollView:self.tableView];



// 上拉加载更多

self.pullUpView = [[PullRefreshView alloc] initWithPullType:PullType_Footer];

self.pullUpView.delegate = self;

[self.pullUpView showInScrollView:self.tableView];