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

  1. <small id='R2Ymy'></small><noframes id='R2Ymy'>

    <tfoot id='R2Ymy'></tfoot>

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

    1. 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout

      时间:2023-09-10

          • <bdo id='LsWPn'></bdo><ul id='LsWPn'></ul>
          • <small id='LsWPn'></small><noframes id='LsWPn'>

          • <i id='LsWPn'><tr id='LsWPn'><dt id='LsWPn'><q id='LsWPn'><span id='LsWPn'><b id='LsWPn'><form id='LsWPn'><ins id='LsWPn'></ins><ul id='LsWPn'></ul><sub id='LsWPn'></sub></form><legend id='LsWPn'></legend><bdo id='LsWPn'><pre id='LsWPn'><center id='LsWPn'></center></pre></bdo></b><th id='LsWPn'></th></span></q></dt></tr></i><div id='LsWPn'><tfoot id='LsWPn'></tfoot><dl id='LsWPn'><fieldset id='LsWPn'></fieldset></dl></div>
              • <tfoot id='LsWPn'></tfoot>
                  <tbody id='LsWPn'></tbody>
                <legend id='LsWPn'><style id='LsWPn'><dir id='LsWPn'><q id='LsWPn'></q></dir></style></legend>
                本文介绍了使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                iOS9 在使用 UIViewControllerAnimatedTransitioning 实现自定义动画时似乎忽略了目标视图控制器的 edgesForExtendedLayout,因此内容最终位于导航栏下方.知道为什么会这样吗?

                我在

                解决方案

                ViewDidLoad 中的这个修复了,你能确认一下吗:]

                self.edgesForExtendedLayout = .Topself.extendedLayoutIncludesOpaqueBars = true

                iOS9 seems to ignore destination view controller's edgesForExtendedLayout when implementing custom animation using UIViewControllerAnimatedTransitioning, therefore the content ends up below the navigation bar. Any idea why this is happening?

                I've hosted an example at https://github.com/nmarkovic04/CustomAnimationTest. Running it on 8.4 and 9.1 shows the difference but you can most likely try any other 8.x and 9.x version.

                Running on XCode 7, Swift 2.0.

                解决方案

                this in ViewDidLoad fixes it can you confirm pls :]

                self.edgesForExtendedLayout = .Top self.extendedLayoutIncludesOpaqueBars = true

                这篇关于使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:UITableView 由 FetchedResultsController 和 UITableViewAutomati 下一篇:重新调整布局大小后,如何将渐变层的大小放置在 UITextField 后面,与 UITextField 大小匹配?

                相关文章

                <tfoot id='3vf3y'></tfoot>
                1. <i id='3vf3y'><tr id='3vf3y'><dt id='3vf3y'><q id='3vf3y'><span id='3vf3y'><b id='3vf3y'><form id='3vf3y'><ins id='3vf3y'></ins><ul id='3vf3y'></ul><sub id='3vf3y'></sub></form><legend id='3vf3y'></legend><bdo id='3vf3y'><pre id='3vf3y'><center id='3vf3y'></center></pre></bdo></b><th id='3vf3y'></th></span></q></dt></tr></i><div id='3vf3y'><tfoot id='3vf3y'></tfoot><dl id='3vf3y'><fieldset id='3vf3y'></fieldset></dl></div>
                2. <small id='3vf3y'></small><noframes id='3vf3y'>

                  • <bdo id='3vf3y'></bdo><ul id='3vf3y'></ul>
                  <legend id='3vf3y'><style id='3vf3y'><dir id='3vf3y'><q id='3vf3y'></q></dir></style></legend>