|
|
há 11 anos atrás | |
|---|---|---|
| MJRefreshExample | há 11 anos atrás | |
| MJRefreshScreenshots | há 11 anos atrás | |
| .gitignore | há 11 anos atrás | |
| LICENSE | há 11 anos atrás | |
| MJRefresh.podspec | há 11 anos atrás | |
| README.md | há 11 anos atrás |
The easiest way to use pull-to-refresh
[self.tableView addHeaderWithTarget:self action:@selector(headerRereshing)];
或者
[self.tableView addHeaderWithCallback:^{ }];
[self.tableView addFooterWithTarget:self action:@selector(footerRereshing)];
或者
[self.tableView addFooterWithCallback:^{ }];
[self.tableView headerBeginRefreshing];
[self.tableView footerBeginRefreshing];
[self.tableView headerEndRefreshing];
[self.tableView footerEndRefreshing];