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

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

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

        设置 UINavigationBar 的标题

        Setting title of UINavigationBar(设置 UINavigationBar 的标题)

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

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

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

                  <tfoot id='B3dm7'></tfoot>
                • 本文介绍了设置 UINavigationBar 的标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个应用程序,它使用主故事板包含一个导航控制器,其中主视图是使用原型单元格内容的表视图.表格视图中的每个单元格都会推送到我使用它自己的一组 .h .m 和 .xib 文件创建的新视图上.

                  I have an application which uses a main story board to include a Navigation Controller where the main view is a Table View using a prototype cell content. Each cell in the table view pushes onto a new view which I have created with it's own set of .h .m and .xib files.

                  表格视图导航栏的标题通过故事板设置,效果很好.但是,在将每个新视图推入视图后,我无法为其设置标题.

                  The table view navigation bar has its title set through the story board which works fine. However, I am having trouble setting the title for each new view after it gets pushed into view.

                  我在每个视图的 viewDidLoad 方法中都有以下内容;

                  I have the following in the viewDidLoad method for each view;

                  self.title = @"View Title";
                  

                  有什么建议吗?

                  推荐答案

                  这是正确的方法.它会起作用的.

                  it is the right way. it will work.

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

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

                  相关文档推荐

                  Navigate Back to previous view controller(导航回上一个视图控制器)
                  How to detect if view controller is being popped of from the navigation controller?(如何检测是否从导航控制器弹出视图控制器?)
                  How to add image in UINavigationBar in IPhone app(如何在 iPhone 应用程序的 UINavigationBar 中添加图像)
                  iOS 11 prefersLargeTitles not updating until scroll(iOS 11 prefersLargeTitles 直到滚动才更新)
                  Showing/hiding navigation bar with smooth animation(以流畅的动画显示/隐藏导航栏)
                  On iOS 7, pushing a controller with a toolbar leaves a gap of unusable space if it#39;s ultimately contained within a tab bar controller(在 iOS 7 上,如果最终包含在选项卡栏控制器中,则使用工具栏推送控制器会留下不可用空间的间隙) - IT屋-程序

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

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

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

                              <tbody id='BwfHW'></tbody>