fix tabman bug when tabbar is visible

This commit is contained in:
Ryan Nystrom
2017-09-26 21:05:13 -04:00
parent c1d80c7a37
commit 5fe34ce698
3 changed files with 11 additions and 1 deletions

View File

@@ -40,6 +40,10 @@ ListAdapterDataSource {
feed.viewDidLoad()
feed.adapter.dataSource = self
// set the frame in -viewDidLoad is required when working with TabMan
feed.collectionView.frame = view.bounds
if #available(iOS 11.0, *) {
feed.collectionView.contentInsetAdjustmentBehavior = .never
}