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 个视图控制器,视图控制器 1 没有导航栏,但视图控制器 2 有导航栏。当从视图控制器 2 弹出到视图控制器 1 时,导航栏的消失速度比视图快。有什么办法可以解决这个问题。请帮忙。
你必须使用[self.navigationController setNavigationBarHidden:NO animated:YES]
[self.navigationController setNavigationBarHidden:NO animated:YES]