工具栏按钮的右侧。按钮穿过右侧屏幕边框

时间:2017-06-24 13:52:42

标签: ios iphone swift uitoolbar

工具栏按钮右侧。按钮穿过右侧屏幕边框。 iPhone SE和7看起来并不相似。

另一个视图中包含的工具栏,也许是一个案例。 iPhone 7

如果你能看到,SE上可见的按钮的一小部分和iPhone7中的完整按钮

iPhone SE

我在"编辑"之间使用灵活的空格键ui按钮。和"完成"纽扣。 请帮助我找出这种情况下的错误。

1 个答案:

答案 0 :(得分:1)

您没有使用自动布局,我认为您正在使用框架。

您可以通过幻数获取屏幕宽度,因为iPhone SE和7的大小不同。

-o, --only-matching
    Print  only  the matched (non-empty) parts of a matching line,
    with each such part on a separate output line.
-h, --no-filename
    Suppress the prefixing of file names on output. This is the default
    when there is only  one  file  (or only standard input) to search.