mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-05-14 23:23:14 +08:00
fix tabman bug when tabbar is visible
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user