导航栏显示在底部 [英] Navigation Bar is displaying at the bottom

查看:211
本文介绍了导航栏显示在底部的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从添加的图片中可以看到,我的导航栏显示在屏幕底部的表格视图下.我刚刚将导航栏拖放到该视图控制器上,这意味着我没有使用导航控制器.我不明白为什么会这样,并且我确定这是我所缺少的简单解决方法.

as you can see from the picture i have added, my navigation bar is displaying at the bottom of the screen under my table view. I have just dragged and dropped my navigation bar on to that view controller which means i'm not using a navigation controller. I don't understand why this is happening and i'm sure its a simple fix which i am missing.

图像2是情节提要视图

正在运行的应用的图像3视图

image 3 view of the app running

非常感谢您的帮助,谢谢!

Any help is much appreciated, Thanks!

推荐答案

  1. 删除旧的导航栏
  2. 选择您的TableViewController,然后在顶部单击编辑器->嵌入"->导航控制器"
  3. 现在您应该在顶部有一个导航栏.

这篇关于导航栏显示在底部的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆