XLPagerTabStrip
XLPagerTabStrip copied to clipboard
Title not showing when changing the visible child view controller programmatically
When a user returns to the view with the PagerTabStrip, I want them to return to the last tab they were on when they left. If I try to use the moveToViewControllerAtIndex method in viewWillAppear or viewDidLoad, the title of the visible child view controller is not in view (on a phone). It seems to work if I call moveToViewControllerAtIndex in viewDidAppear, but it cause a lot of undesired motion as the tab strip animates to the selected view controller.