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

        <bdo id='PAtHN'></bdo><ul id='PAtHN'></ul>
      <legend id='PAtHN'><style id='PAtHN'><dir id='PAtHN'><q id='PAtHN'></q></dir></style></legend>
    2. <small id='PAtHN'></small><noframes id='PAtHN'>

      <tfoot id='PAtHN'></tfoot>
    3. UINavigationController“后退按钮"自定义文本?

      时间:2023-05-16
      <tfoot id='yLurO'></tfoot>
    4. <small id='yLurO'></small><noframes id='yLurO'>

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

                本文介绍了UINavigationController“后退按钮"自定义文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                UINavigationController 的后退按钮"默认显示堆栈中最后一个视图的标题.有没有办法在后退按钮中添加自定义文本?

                The "back button" of a UINavigationController by default shows the title of the last view in the stack. Is there a way to have custom text in the back button instead?

                推荐答案

                来自 这个链接:

                self.navigationItem.backBarButtonItem =
                   [[UIBarButtonItem alloc] initWithTitle:@"Custom Title"
                            style:UIBarButtonItemStylePlain
                           target:nil
                           action:nil];
                

                正如泰勒在评论中所说:

                As Tyler said in the comments:

                不要在可见视图控制器中这样做,而是在视图中如果你点击后退按钮,你会看到的控制器

                这篇关于UINavigationController“后退按钮"自定义文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                上一篇:防止 UISearchDisplayController 隐藏导航栏 下一篇:UIRefreshControl - 当 UITableViewController 在 UINavigationCon

                相关文章

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

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

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