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

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

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

        <tfoot id='KBR4w'></tfoot>

        UINavigationController 与 presentModalViewController

        UINavigationController with presentModalViewController(UINavigationController 与 presentModalViewController)
        <legend id='n2nJo'><style id='n2nJo'><dir id='n2nJo'><q id='n2nJo'></q></dir></style></legend>

          • <tfoot id='n2nJo'></tfoot>

                <tbody id='n2nJo'></tbody>

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

                • <bdo id='n2nJo'></bdo><ul id='n2nJo'></ul>
                  <i id='n2nJo'><tr id='n2nJo'><dt id='n2nJo'><q id='n2nJo'><span id='n2nJo'><b id='n2nJo'><form id='n2nJo'><ins id='n2nJo'></ins><ul id='n2nJo'></ul><sub id='n2nJo'></sub></form><legend id='n2nJo'></legend><bdo id='n2nJo'><pre id='n2nJo'><center id='n2nJo'></center></pre></bdo></b><th id='n2nJo'></th></span></q></dt></tr></i><div id='n2nJo'><tfoot id='n2nJo'></tfoot><dl id='n2nJo'><fieldset id='n2nJo'></fieldset></dl></div>
                • 本文介绍了UINavigationController 与 presentModalViewController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个实现 UINavigationController 的菜单屏幕,在该屏幕顶部,使用 presentModalViewController,我放置了另一个屏幕,我希望在该屏幕上拥有另一个 UINavigationController.我试图实现另一个导航控制器来处理新屏幕,但我要么在屏幕下方的 1/8 处得到一个导航栏,要么崩溃,要么什么也没有.我试过 [[UINavigationController alloc] initWithRootViewController:navigationConroller] 也没有成功.我只是在使用 pushViewController 来尝试将下一个 nib 放在不起作用的堆栈上.我做错了什么?

                  I have a menu screen that implements UINavigationController and on top of that screen, using presentModalViewController, I place another screen on which I want to have another UINavigationController. I have tried to implement another navigation controller to handle the new screen but I either get a navbar 1/8th the way down the screen and it crashes or nothing at all. I have tried [[UINavigationController alloc] initWithRootViewController:navigationConroller] with no success as well. I'm just using pushViewController to try and place the next nib on the stack which doesn't work. What am I doing wrong?

                  推荐答案

                  虽然有很多人在论坛上说苹果不允许这样做,但我已经让它工作了.你要做的是:

                  Although there are a lot of people saying on forums that Apple doesn't allow this I have got it to work. What you have to do is:

                  Map *mapScreen = [[[Map alloc] init] autorelease];
                  mapScreen.delegate = self;
                  
                  UINavigationController *navController = [[[UINavigationController alloc] initWithRootViewController:mapScreen] autorelease];
                  
                  [self presentModalViewController:navController animated:YES];
                  

                  这篇关于UINavigationController 与 presentModalViewController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  UINavigationController inside a UITabBarController inside a UISplitViewController presented modally on iPhone(UISplitViewController 内的 UITabBarController 内的 UINavigationController 以模态方式呈现在 iPhone 上) - IT屋-程序员软件开发技术分
                  ViewController in UINavigationController orientation change(UINavigationController 中的 ViewController 方向更改)
                  Custom back button in UINavigationController(UINavigationController 中的自定义后退按钮)
                  How to get the previous viewcontroller that pushed my current view(如何获取推送我当前视图的上一个视图控制器)
                  The correct way to set a light status bar text color in iOS 7 based on different ViewControllers(iOS 7中基于不同ViewControllers设置灯光状态栏文字颜色的正确方法)
                  Show UITabBar when UIViewController pushed(推送 UIViewController 时显示 UITabBar)

                        <tbody id='Tt4jb'></tbody>

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

                        <tfoot id='Tt4jb'></tfoot>

                        <legend id='Tt4jb'><style id='Tt4jb'><dir id='Tt4jb'><q id='Tt4jb'></q></dir></style></legend>
                          <bdo id='Tt4jb'></bdo><ul id='Tt4jb'></ul>