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.
这是一个非常基本的问题,但我不知道如何在 tabbarcontroller 上弹出一个视图,例如我有一个 tabbar,我有一个 'add' baritembutton,我想要一个视图来自向下并且看不到 tabbar了。
谢谢
使用 presentModalViewController:
[yourTabBarController presentModalViewController:viewController animated:YES];
其中 viewController 是您要显示的视图控制器
要删除模态视图控制器,请使用:
[yourTabBarController dismissModalViewControllerAnimated:YES];