简体   繁体   中英

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?

在滚动视图中是否有一组按钮(如果按钮的数量超出框架),并为每个按钮设置一个动作以呈现模式视图?

Here 'sa 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!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM