iOS 12当我使用导航栏中的大标题“拉出刷新”时,UIRefreshControl的指示器不像预期的那样工作。
我如何才能有正确的UIRefreshControl指标行为和使用大标题?我是不是遗漏了什么?
(相关https://forums.developer.apple.com/thread/97713)
用self.navigationController.navigationBar.prefersLargeTitles = true

用self.navigationController.navigationBar.prefersLargeTitles = false

发布于 2018-11-19 07:18:07
而不是tableView.tableHeaderView = refreshControl或tableView.addSubView(refreshControl),您应该使用tableView.refreshControl = refreshControl
https://stackoverflow.com/questions/53056088
复制相似问题