使视图在导航栏下方快速滚动

时间:2020-08-18 22:34:59

标签: swift xcode scroll uicollectionview

我目前有一个collectionview ViewController,它具有一个headerView,然后在headerview下面的单元格中。嵌套在标题视图中,我有一个名为“ filterView”的自定义UIView,其工作方式类似于UISegmentedController。我希望当用户像Twitter,Instagram和tiktok的UI一样向上滚动时,filterView贴在导航栏下方。有关如何执行此操作的任何建议?

0 个答案:

没有答案
相关问题