Search code examples
iosuitabbarcontrolleruitabbar

iOS possible for draggable hide button on UITabbar?


Is it possible to add a custom button ontop of a tabbar which can be used to hide and show the tabbar?

I can hide the tabbar but i want to be able to do it from the tabbar itself (button on it)

Mockup of button

Any ideas?


Solution

  • Just for completeness (I know you have found this elsewhere), but you can use my "PeekabooTabBarController" for this:

    https://github.com/a1phanumeric/PeekabooTabBarController

    It allows you to show and hide a UITabBarController, and even allows more buttons which scroll horizontally.