Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/WenchaoD/FSPagerView
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoD committed Feb 25, 2017
2 parents 6d8a1fe + b1c291f commit c2b6415
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/FSPagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}

Expand Down

0 comments on commit c2b6415

Please sign in to comment.