Hiding the tabbar and removing the space

Utku Dalmaz picture Utku Dalmaz · May 5, 2016 · Viewed 41.2k times · Source

Is there a way to hide tabbar and remove that space left (around 50px) ?

I tried

self.tabBarController?.tabBar.hidden = true
self.extendedLayoutIncludesOpaqueBars = true

No luck. I see blank space.

Answer

Smnd picture Smnd · May 9, 2016

If you're still seeing a black stripe under your hidden tab bar, have you tried to select Extend Edges Under Opaque Bars here?

enter image description here

Make also sure that Under Bottom Bars is still selected. Hope it helps!