iOS 10.0 UIRefreshControl not showing indicator

前端 未结 8 1348
庸人自扰
庸人自扰 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:50

    before the code:

    [refreshControl beginRefresh]

    insert the code:

    [refreshControl layoutIfNeeded]

提交回复
热议问题