Vertical Tab Bars? [closed]

孤街醉人 提交于 2019-12-29 09:13:30

问题


I was wondering if anyone knows where I can find documentation or a tutorial on how to make a vertical tab bar for iOS like in 1Password or 2do.

I figure that these aren't "real" tab bars, but I'd really like to use that functionality and I'm at a loss on how to accomplish it. Thanks in advance for any help!


回答1:


I imagine the best way to go about it would be to populate a UIView with a bunch of UIButtons and style it like a UITabBar. To save time, you could take the code from this custom tab bar, and modify it to fit your needs.




回答2:


A vertical tab bar implementation for iPad can be found here.




回答3:


Recently I created a simple implementation of vertical tab bar for iOS: https://github.com/futuresimple/FSVerticalTabBarController

Main goal was to mimic the original tab bar as closely as possible, but at the same time it's customizable and you have the code! :)




回答4:


Recently I created a simple implementation of vertical tab bar for iOS: https://github.com/futuresimple/FSVerticalTabBarController It's more "modern" than SEVerticalTabBar as it uses UIViewController mechanism. The downside is that it requires iOS5.



来源:https://stackoverflow.com/questions/5698723/ios-vertical-tab-bar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!