• <bdo id='7Zo6d'></bdo><ul id='7Zo6d'></ul>

    <small id='7Zo6d'></small><noframes id='7Zo6d'>

    <legend id='7Zo6d'><style id='7Zo6d'><dir id='7Zo6d'><q id='7Zo6d'></q></dir></style></legend>

  1. <i id='7Zo6d'><tr id='7Zo6d'><dt id='7Zo6d'><q id='7Zo6d'><span id='7Zo6d'><b id='7Zo6d'><form id='7Zo6d'><ins id='7Zo6d'></ins><ul id='7Zo6d'></ul><sub id='7Zo6d'></sub></form><legend id='7Zo6d'></legend><bdo id='7Zo6d'><pre id='7Zo6d'><center id='7Zo6d'></center></pre></bdo></b><th id='7Zo6d'></th></span></q></dt></tr></i><div id='7Zo6d'><tfoot id='7Zo6d'></tfoot><dl id='7Zo6d'><fieldset id='7Zo6d'></fieldset></dl></div>

      <tfoot id='7Zo6d'></tfoot>

      如何在标题视图 iOS 中创建故事板布局多个视图?

      How to create storyboard layout multiple views within header view iOS?(如何在标题视图 iOS 中创建故事板布局多个视图?)
          <tbody id='fh4KW'></tbody>
        <i id='fh4KW'><tr id='fh4KW'><dt id='fh4KW'><q id='fh4KW'><span id='fh4KW'><b id='fh4KW'><form id='fh4KW'><ins id='fh4KW'></ins><ul id='fh4KW'></ul><sub id='fh4KW'></sub></form><legend id='fh4KW'></legend><bdo id='fh4KW'><pre id='fh4KW'><center id='fh4KW'></center></pre></bdo></b><th id='fh4KW'></th></span></q></dt></tr></i><div id='fh4KW'><tfoot id='fh4KW'></tfoot><dl id='fh4KW'><fieldset id='fh4KW'></fieldset></dl></div>

      1. <tfoot id='fh4KW'></tfoot>

              • <bdo id='fh4KW'></bdo><ul id='fh4KW'></ul>

                <small id='fh4KW'></small><noframes id='fh4KW'>

                <legend id='fh4KW'><style id='fh4KW'><dir id='fh4KW'><q id='fh4KW'></q></dir></style></legend>
              • 本文介绍了如何在标题视图 iOS 中创建故事板布局多个视图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我在 storyboard 视图控制器上创建了标题 UIView,现在我需要创建 4 个视图,如下面的彩色图像进入该 UIview 基本视图.它应该显示在所有设备上.需要使用 iOS 调整自动布局.

                I have created header UIView on storyboard view controller, now I need to create 4 views like below colored image Into that UIview base view. It should show for all devices. Need to adjust auto layout using iOS.

                推荐答案

                首先给标题视图设置约束.选择标题视图并应用以下约束:

                First set constraints to header view. Select header view and apply following constraints:

                • 前导、顶部、尾随空格和高度 = 80(例如)

                一旦你对标题视图应用约束,然后一次选择所有按钮:

                Once you apply constraints to header view then select all buttons at once :

                希望对你有帮助

                这篇关于如何在标题视图 iOS 中创建故事板布局多个视图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                iOS AutoLayout - get frame size width(iOS AutoLayout - 获取帧大小宽度)
                Auto layout constraints issue on iOS7 in UITableViewCell(UITableViewCell中iOS7上的自动布局约束问题)
                How to resize superview to fit all subviews with autolayout?(如何调整超级视图的大小以适应所有具有自动布局的子视图?)
                Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5(自动布局中的弹簧:在 Xcode 5 中使用约束均匀分布视图)
                reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling(具有动态单元格高度的 UITableView 的 reloadData() 导致跳跃滚动)
                What is NSLayoutConstraint quot;UIView-Encapsulated-Layout-Heightquot; and how should I go about forcing it to recalculate cleanly?(什么是 NSLayoutConstraint“UIView-Encapsulated-Layout-Height?我应该如何强制它干净地重新计算?) - IT屋-程序员
                • <small id='ce72V'></small><noframes id='ce72V'>

                  <i id='ce72V'><tr id='ce72V'><dt id='ce72V'><q id='ce72V'><span id='ce72V'><b id='ce72V'><form id='ce72V'><ins id='ce72V'></ins><ul id='ce72V'></ul><sub id='ce72V'></sub></form><legend id='ce72V'></legend><bdo id='ce72V'><pre id='ce72V'><center id='ce72V'></center></pre></bdo></b><th id='ce72V'></th></span></q></dt></tr></i><div id='ce72V'><tfoot id='ce72V'></tfoot><dl id='ce72V'><fieldset id='ce72V'></fieldset></dl></div>
                  <legend id='ce72V'><style id='ce72V'><dir id='ce72V'><q id='ce72V'></q></dir></style></legend>

                      <bdo id='ce72V'></bdo><ul id='ce72V'></ul>
                        <tbody id='ce72V'></tbody>
                        • <tfoot id='ce72V'></tfoot>