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

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

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

      Main.Storyboard 框架未更新

      Main.Storyboard Frames Not Updated(Main.Storyboard 框架未更新)

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

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

        <legend id='o6PRg'><style id='o6PRg'><dir id='o6PRg'><q id='o6PRg'></q></dir></style></legend>

          <bdo id='o6PRg'></bdo><ul id='o6PRg'></ul>

              1. <tfoot id='o6PRg'></tfoot>
                本文介绍了Main.Storyboard 框架未更新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我目前正在制作一个我计划提交到 iOS App Store 的应用程序.通常,当我在 Xcode 的 Main.Storyboard 中更新我的帧时,它会保持这种状态.但是,现在没有了.每当我关闭应用程序并稍后重新打开它时,框架都不会更新.它看起来像这样:

                I am currently making an app which I plan to submit to the iOS App Store. Normally, when I update my frames in the Main.Storyboard of Xcode, it stays like that. However, now it does not. Whenever I close the app and reopen it later, the frames are not updated. It looks like this:

                更新框架后,它看起来像这样(我希望它看起来像什么):

                After I update the frames, it looks like this (what I want it to look like):

                当我在模拟器上运行该应用程序时,它看起来仍然很好,但我的应用程序中仍然有 16 个警告.我想删除这些错误,因为(我之前提到过)我正在将此应用程序提交到 iOS App Store.我怎样才能解决这个问题?谢谢.

                The app still looks fine when I run it on the simulator, but I still have 16 warnings in my app. I would like to remove these bugs as (I previously mentioned) I am submitting this app to the iOS App Store. How can I fix this? Thanks.

                推荐答案

                1)正如它显示你已经设计了 size class width-COMPACT &高度-任意.如果你在 size class width-ANY &height-ANY 它会解决你的问题.它也发生在我身上.我已经改变了尺码等级和更新了所有 ViewControllers 的约束.

                1)As it showing you have designed the layout in size class width-COMPACT & height-ANY. If you design your storyboard in size class width-ANY & height-ANY it will solve your problem.IT also happened with me.I have changed the size class & updated constraints of all ViewControllers.

                2) 它现在显示一个空白视图控制器.但是,您不会收到任何警告

                2)It now shows a blank view controller. However, You will not get any warnings

                3) 现在您可以通过更改控制器内视图的大小类使其可见选择视图->转到属性检查器->转到底部->选择已安装的&删除之前选择的尺码等级

                3) Now You can make it visible by changing size class of the views inside the controller select the view ->go to attribute inspector->go to bottom-> select installed & delete earlier selected size class

                4)为所有观点做这件事 &更新约束

                这篇关于Main.Storyboard 框架未更新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                相关文档推荐

                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屋-程序员
                  <tbody id='ms5oV'></tbody>
              2. <tfoot id='ms5oV'></tfoot>
                • <small id='ms5oV'></small><noframes id='ms5oV'>

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

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