You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doing reloadData() if numberOfViewControllers(in pageboyViewController returns zero after having some view controllers on the screen they still present. So I can't clear view controllers.
The reason is this code in PageboyViewController+Management.swift:
I'm having a similar issue, as a workaround I'm using a UIViewController with Pageboy as a child, and when I need to reset I setup a new Pageboy
// remove old pageboy
pageViewController.removeFromParent()
pageViewController.view.removeFromSuperview()// create and setup the new one
pageViewController =PageboyViewController()addChild(pageViewController)
pageViewController.didMove(toParent:self)
view.addSubview(pageViewController.view)
pageViewController.delegate =self
Doing
reloadData()
ifnumberOfViewControllers(in pageboyViewController
returns zero after having some view controllers on the screen they still present. So I can't clear view controllers.The reason is this code in PageboyViewController+Management.swift:
The text was updated successfully, but these errors were encountered: