Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道我们能不能像这个屏幕截图一样在顶部创建 2 个条形图。一个带有多个按钮和搜索栏的顶部栏,第二个带有后退按钮的顶部栏。
您可以使用UINavigationBarfrom并且可以在视图顶部UINavigationController添加当前显示UIViewController的视图。UIToolBar
UINavigationBar
UINavigationController
UIViewController
UIToolBar