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

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

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

      <legend id='fiP2O'><style id='fiP2O'><dir id='fiP2O'><q id='fiP2O'></q></dir></style></legend><tfoot id='fiP2O'></tfoot>
    1. iPhone:UINavigationController 顶部的奇怪空间

      时间:2023-06-12

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

              • <bdo id='Sd8im'></bdo><ul id='Sd8im'></ul>
              • 本文介绍了iPhone:UINavigationController 顶部的奇怪空间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我在将 UINavigationController 添加到我的 iPhone 应用程序时遇到了一个奇怪的问题.我添加控制器如下:

                I'm having a strange problem with adding a UINavigationController to my iPhone application. I add the controller as follows:

                myViewController *viewController = [[myViewController alloc] initWithNibName:@"myView" bundle:nil];
                
                myNavigationViewController *navigationController = [[myNavigationViewController alloc] initWithRootViewController:viewController];
                
                UIView *finalView = myeNavigationViewController.view;
                
                [self.view addSubview:finalView];
                

                一切似乎都按计划进行,只是在状态栏和 UINavigationController 标题栏之间的视图顶部出现了一个奇怪的空白.替代文字 http://www.andrewskinner.name/problem.png

                All seems to work as planned except I get a weird white space at the top of my view between the status bar and the UINavigationController title bar. alt text http://www.andrewskinner.name/problem.png

                我在网上搜索过,但不知道要搜索什么.有没有其他人有这个问题?你能给我指明一些帮助的方向吗?

                I've searched online but don't really know what to search for. Has anyone else had this problem? Can you point me in the direction of some help?

                提前致谢.

                推荐答案

                查看这个问题的答案:

                不知道为什么 UIView 被轻推增加约 10 像素

                这篇关于iPhone:UINavigationController 顶部的奇怪空间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:故事板导航控制器和标签栏控制器 下一篇:UINavigationController 上的确认返回按钮

                相关文章

              • <small id='DBf2A'></small><noframes id='DBf2A'>

                1. <legend id='DBf2A'><style id='DBf2A'><dir id='DBf2A'><q id='DBf2A'></q></dir></style></legend>

                  • <bdo id='DBf2A'></bdo><ul id='DBf2A'></ul>
                  <tfoot id='DBf2A'></tfoot>

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