Xlpagertabstrip: [HELP] Tabstrip Under the navigation bar

Created on 1 Nov 2017  路  6Comments  路  Source: xmartlabs/XLPagerTabStrip

Hello everyone ! thanks for your job !

I copy/paste the instagram example
The tabar goes under the navigation bar

Screenshot 1 HERE
Screeshot 2 HERE

I'm using Xcode 9, Swift 4

Someone encountered the same problem? 馃様

Most helpful comment

did you tried edgesForExtendedLayout = [] in the viewDidLoad() method of your 'root' view controller?

All 6 comments

Do you have translucent navigation bars activated? If so, the topLayoutGuide / safeAreaLayoutGuide.top moves underneath the navigation bar and therefor the Tabbar is not visible. I guess the only way to work around this is to either set an offset or manipulate the top constraints in code.

Did we find a solution on this?

I got the same problem

I am also having this problem, would like a solution!

did you tried edgesForExtendedLayout = [] in the viewDidLoad() method of your 'root' view controller?

Thanks @FlorianLdt ! That solved my problem 馃殌

Was this page helpful?
0 / 5 - 0 ratings