带有UIRefreshControl的ScrollView在显示为模式表时不会刷新

问题描述 投票:0回答:1

iOS 13模式演示文稿表(UIPresentationController)和带有UIRefreshControl的UIScrollView的(UITableView / UICollectionView)效果不佳。

是否可以拖动到TableView的顶部以触发刷新控件,而不是关闭显示的视图?是否有任何干净的解决方案,而不是使用预设的UIGestureRecognizer?]

isModalInPresentation设置为false不起作用。

ios swift uitableview uicollectionview ios13
1个回答
0
投票

[查看UIAdaptivePresentationControllerDelegate,这里还有来自Apple的一些示例代码,https://developer.apple.com/videos/play/wwdc2019/224/“禁用下拉工作表”可能会有所帮助。

© www.soinside.com 2019 - 2024. All rights reserved.