Utku Dalmaz Utku Dalmaz - 1 year ago 109
iOS Question

Hiding the tabbar and removing the space

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 Source

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!