refreshControl

来源:互联网 发布:股票策略编程 编辑:程序博客网 时间:2024/06/06 00:32
 self.refreshControl = [[UIRefreshControl alloc] init];

    [self.refreshControl addTarget:self action:@selector(downloadData) forControlEvents:UIControlEventValueChanged];

    [self.tableView addSubview:self.refreshControl];

    [self.refreshControl beginRefreshing];

0 0