标签: ios swift
如果我在导航控制器中嵌入视图控制器,则在一些像素后标记文本开始。如果我删除导航控制器,然后文本从标签开始。什么背后的原因以及如何解决这个问题?
In this image it's not embedded in navigation controller and textview text start with top.
In this image it's embedded in navigation controller and textview text start with middle of textview.
答案 0 :(得分:0)
见下图并取消选中约束边距。