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.
我有一个 iPad 应用程序,其初始视图为登录屏幕视图控制器。
登录后,会出现一个带有 3 个视图控制器选项卡的选项卡栏控制器。我想添加第 4 个选项卡,用作注销按钮。我该如何实施?
我尝试创建一个自定义标签栏控制器类,但我不知道之后该怎么做。
只需在、 添加按钮或任何您想使用的注销功能中添加另一个项目 ( viewController) 。UITabBarController如果您确实添加了 3 个选项卡,那么添加第 4 个选项卡有什么问题?
viewController
UITabBarController