I'm using the latest version
pod 'XLPagerTabStrip', '~> 8.0'
On iOS v 11 it shows correct but on version 10 it does not show the strip, via testing I have managed to change the backound colour meaning that the space for the tab is left as supposed to and I can swipe left right to get other tabs but the title and related styles are not visible. I will post a screenshot for
v11

and v10,

The way I instantiate the classes is via storyboad as follows
let child_1 = self.storyboard!.instantiateViewController(withIdentifier: "storyboardid")
To any one with same issue it seems the navigation bar so had to make a way to move the tab bar
edgesForExtendedLayout = []
//move tab
buttonBarView.frame.origin.y = buttonBarView.frame.origin.y + 30
I ran into the same problem on iOS10, and found a workaround on ButtonBarPagerTabStripViewController's viewDidLoad() (before calling super.viewDidLoad());
if #available(iOS 11.0, *) {
// nothing to do.
} else {
automaticallyAdjustsScrollViewInsets = false
}
@hackugyo your workaround works good for me, thanks!
@hackugyo Thank's
seems this issue is not yet solved not even with those workarounds that used to work
I had same Problem. Thank's
I had same problem too. Thank's!!
I ran into the same problem on iOS10, and found a workaround on
ButtonBarPagerTabStripViewController'sviewDidLoad()(before callingsuper.viewDidLoad());if #available(iOS 11.0, *) { // nothing to do. } else { automaticallyAdjustsScrollViewInsets = false }
This works good, thank you.
Some issue and not solved with the workarounds.
Most helpful comment
I ran into the same problem on iOS10, and found a workaround on
ButtonBarPagerTabStripViewController'sviewDidLoad()(before callingsuper.viewDidLoad());