UIRefreshControl

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

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

    [self.tableView addSubview:control];

 

 [control endRefreshing];

posted @ 2015-07-16 09:06  Emyin  阅读(96)  评论(0编辑  收藏  举报