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

    • <bdo id='2E2lt'></bdo><ul id='2E2lt'></ul>

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

      1. <tfoot id='2E2lt'></tfoot>

        self.tabBarItem.title 不工作?

        self.tabBarItem.title not working?(self.tabBarItem.title 不工作?)

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

          <tfoot id='QB2iL'></tfoot>

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

                  问题描述

                  在我的 iPhone 应用程序中,我有一个标签栏.此选项卡栏包含一个 UINavigationController.我有:

                  In my iPhone application, I have a tab bar. This tab bar holds a UINavigationController. I have:

                  • 在 Interface Builder 中,将选项卡项标题设置为新建"
                  • 在 UINavigation 控制器中,我有 self.tabBarItem.title = 'Create New';self.title = 'Create New';
                  • 在UIViewController推到控制器上:self.tabBarItem.title = 'Create New';但是 self.title = 'Blah';.

                  但是,总是会显示推到导航控制器上的第一个视图控制器的 self.title (Blah).您将如何设置标签栏项目的标题?谢谢,艾萨克·沃勒

                  But, always, the self.title of the first view controller pushed onto the navigation controller is shown (Blah). How would you set the title of the tab bar item? Thanks, Isaac Waller

                  推荐答案

                  我发现如果我使用 self.navigationItem.title = 'Blah'; 而不是 self.title,它会工作.

                  I found if I used self.navigationItem.title = 'Blah'; instead of self.title, it would work.

                  这篇关于self.tabBarItem.title 不工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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 add a navigation controller programmatically in code but not as initial view controller(如何在代码中以编程方式添加导航控制器,但不作为初始视图控制器)
                  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设置灯光状态栏文字颜色的正确方法)

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

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

                          <tfoot id='d6nd9'></tfoot>
                          <legend id='d6nd9'><style id='d6nd9'><dir id='d6nd9'><q id='d6nd9'></q></dir></style></legend>