ICViewPager
ICViewPager copied to clipboard
Select tab in viewWillAppear
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)