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
{{ message }}
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.
I have an app in which I want to preselect a tab before loading the entire viewPager, so the ViewPagerViewController has a "selectedTab" property and I configure it before pushing the ViewController.
Then, I select the tab in viewWillAppear (#29).
It is working fine when executing on an iPhone but it doesn't work on iPad.
Has anyone a fix for it? Or maybe I have forgotten something...
Thank you very much
PD: the only fix I could add for now is checking selected tab in viewDidAppear, but it shows first tab and then it changes to the selected tab (it doesn't work always)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi!
I have an app in which I want to preselect a tab before loading the entire viewPager, so the ViewPagerViewController has a "selectedTab" property and I configure it before pushing the ViewController.
Then, I select the tab in viewWillAppear (#29).
It is working fine when executing on an iPhone but it doesn't work on iPad.
Has anyone a fix for it? Or maybe I have forgotten something...
Thank you very much
PD: the only fix I could add for now is checking selected tab in viewDidAppear, but it shows first tab and then it changes to the selected tab (it doesn't work always)
The text was updated successfully, but these errors were encountered: