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.
我已经从对象库 xCode(拖放)中添加了 uinavigation 栏,但我无法在必要时隐藏它,主要是我无法连接它。请帮帮我,我搜索了每个地方,每个人都在谈论 uinavigationcontroller 的酒吧。
为什么不能将插座连接到自己的导航栏?...可以。检查您的 xib 是否具有正确的文件所有者。也看看我的截图..
尝试:
self.navigationController.navigationBar.hidden = YES;