Skip to content

Commit

Permalink
Merge pull request WenchaoD#13 from zhengrusong/master
Browse files Browse the repository at this point in the history
page view刷新时 需要重新layout.
  • Loading branch information
WenchaoD authored Feb 24, 2017
2 parents 5f16081 + 636c537 commit b1c291f
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 b1c291f

Please sign in to comment.