page view刷新时 需要重新layout.
This commit is contained in:
parent
5f16081c70
commit
636c5376e1
|
|
@ -405,6 +405,7 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega
|
|||
/// Reloads all of the data for the collection view.
|
||||
@objc(reloadData)
|
||||
open func reloadData() {
|
||||
self.collectionViewLayout.needsReprepare = true;
|
||||
self.collectionView.reloadData()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue