Search code examples
iphoneipadios4uitabbarcontroller

Tabbar controller through UIButtons?


I want to do application like tabbarController through UIButtons only and also i want to avoid using tabarController. how can I target viewController for every buttons which is in UIWindow?


Solution

  • Here's a link which shows you how to add coloured icons to the UITabBarController, and it seems as though there are multiple ways of doing this online. Try searching for "uitabbarcontroller color icons" on your favourite search engine, and hopefully you'll find more information on how to do this.

    If you really have your heart set on implementing your own UITabBarController, I would suggest making 1 super view which has the buttons on the bottom, and on each button press, load a new subview above them to make it look like it's a UITabBarController.

    Hope that Helps!