diff --git a/Sources/FSPagerView.swift b/Sources/FSPagerView.swift index 41c1c39..63b92e9 100644 --- a/Sources/FSPagerView.swift +++ b/Sources/FSPagerView.swift @@ -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() }