问题描述
我想知道是否有人知道我在哪里可以找到有关如何为 iOS 制作垂直标签栏的文档或教程,例如 1Password 或 2do.
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!
推荐答案
我想最好的办法是用一堆 UIButton
UIView>s 并将其设置为 UITabBar
.为了节省时间,您可以从 这个自定义标签栏,并修改它以满足您的需求.
I imagine the best way to go about it would be to populate a UIView
with a bunch of UIButton
s 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.
这篇关于垂直标签栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!