Closed ghost closed 2 years ago
Hi, @hakan-toptal did you fix the mentioned issue?
Hi, @hakan-toptal did you fix the mentioned issue?
Yes, I have resolved the issue as following:
func viewController(for pageboyViewController: PageboyViewController, at index: PageboyViewController.PageIndex) -> UIViewController? {
pageboyViewController.view.layoutIfNeeded()
pageboyViewController.view.setNeedsLayout()
let myViewController = MyViewController()
myViewController.additionalSafeAreaInsets.top = barView.bounds.height
return myViewController
}
New Issue Checklist
Issue Description
When swiped through pages,
viewController
goes underbarView
. However when tapped onbarView
, there is no layout issue.Testing