refreshControl
冯嘉珍
2023-12-01
self.refreshControl = [[UIRefreshControl alloc] init];
[self.refreshControl addTarget:self action:@selector(downloadData) forControlEvents:UIControlEventValueChanged];
[self.tableView addSubview:self.refreshControl];
[self.refreshControl beginRefreshing];