iOS 13 模式演示文稿表 (UIPresentationController) 和 UIScrollView (UITableView/UICollectionView) 与 UIRefreshControl 相处得不好。
是否可以拖动到 TableView 顶部之外来触发刷新控件,而不是关闭呈现的 View ?是否有任何干净的解决方案,而不是使用预设的 UIGestureRecognizer?
将 isModalInPresentation
设置为 false
不起作用。
最佳答案
使用
scrollView.refreshControl=refreshControl
而不是
scrollView.addSubview(refreshControl)
关于ios - 当呈现为模态表时,带有 UIRefreshControl 的 ScrollView 不会刷新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58142716/