iOS 10.0 UIRefreshControl not showing indicator

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

    I was only able to fix this by calling, from viewDidLoad():

    refreshControl.layoutIfNeeded()
    

提交回复
热议问题