Vertical Tab Bars?(垂直标签栏?)
问题描述
我想知道是否有人知道我在哪里可以找到有关如何为 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!
推荐答案
我想最好的办法是用一堆 UIButtonUIView>s 并将其设置为 UITabBar.为了节省时间,您可以从 这个自定义标签栏,并修改它以满足您的需求.
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.
这篇关于垂直标签栏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:垂直标签栏?
基础教程推荐
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
