This commit is contained in:
WenchaoD 2017-02-25 12:55:37 +08:00
commit c2b6415fc9
1 changed files with 1 additions and 0 deletions

View File

@ -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()
}