gpt4 book ai didi

objective-c - SVPullToRefreshPositionBottom 属性未在 swift 3.0 中设置

转载 作者:行者123 更新时间:2023-11-28 08:19:01 24 4
gpt4 key购买 nike

我使用 SVPullToRefresh 来刷新 collectionView。它在从顶部拉出时工作,但它的定位属性是 position:SVPullToRefreshPositionBottom 未设置。请帮助我

这是代码

self.collectionView.addPullToRefresh(actionHandler: {() -> Void in
self.pagination()

})

最佳答案

试试这个,它工作正常

collection .addPullToRefresh(actionHandler: {}, position: .bottom)

关于objective-c - SVPullToRefreshPositionBottom 属性未在 swift 3.0 中设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41760428/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com