iOS 10.0 UIRefreshControl not showing indicator

前端 未结 8 1416
庸人自扰
庸人自扰 2020-12-29 06:02

I am using a UITableView Which has a Pull down to refresh function but the spinner for pull down to refresh is not showing up when I call the [self.refreshControl beginRefre

8条回答
  •  盖世英雄少女心
    2020-12-29 06:32

    Delaying call to refresh in viewDidLoad worked for me:

        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
            [self.refreshControl beginRefreshing];
    });
    

提交回复
热议问题