UIRefreshControl is in wrong position in UITableViewController

前端 未结 3 1728
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-13 14:58

I\'ve seen quite a few problems with UIRefreshControl, and I\'m having a problem as well with my UITableViewController. The problem occurs so randomly and henceforth I cannot fi

3条回答
  •  清酒与你
    2021-02-13 15:41

    override func viewDidLayoutSubviews() { super.viewDidLayoutSubviews() refreshControl?.superview?.sendSubview(toBack: refreshControl!) }

提交回复
热议问题