From 636c5376e10648c90972e4f7b44ed20d02523cb6 Mon Sep 17 00:00:00 2001 From: zhengrusong <707597767@qq.com> Date: Fri, 24 Feb 2017 09:25:40 +0800 Subject: [PATCH] =?UTF-8?q?page=20view=E5=88=B7=E6=96=B0=E6=97=B6=20?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E9=87=8D=E6=96=B0layout.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/FSPagerView.swift | 1 + 1 file changed, 1 insertion(+) 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() }