UIRefreshControl

UIRefreshControl *control = [[UIRefreshControl alloc] init];

    [control addTarget:self action:@selector(loadNewTopics:) forControlEvents:UIControlEventValueChanged];

    [self.tableView addSubview:control];

 [control endRefreshing];

原文地址:https://www.cnblogs.com/yintingting/p/4650236.html