<tfoot id='xtPND'></tfoot>
  • <small id='xtPND'></small><noframes id='xtPND'>

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

          <bdo id='xtPND'></bdo><ul id='xtPND'></ul>
      1. <legend id='xtPND'><style id='xtPND'><dir id='xtPND'><q id='xtPND'></q></dir></style></legend>

        UINavigationBar 以按钮为标题.

        时间:2023-06-12
          <tbody id='jgFAe'></tbody>

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

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

                <tfoot id='jgFAe'></tfoot>

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

                  本文介绍了UINavigationBar 以按钮为标题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已经进行了一些挖掘,但似乎没有得到任何有用的东西.

                  I have done some digging and can't seem to get anything useful.

                  我正在尝试做的是非常基本的,但我不确定它们是否是:

                  What I am trying to do is pretty basic but I'm not sure if their is:

                  1.更简单的方法

                  2.或者如果苹果会给它一个不"

                  我有一个通过 UINavigationController 控制的视图(显然来自这篇文章的标题),其中有一个对象/视图.

                  I have a view that is controlled via UINavigationController (obviously from the title of this post) and in it has an object/view.

                  视图已经相当拥挤的内容.不是很拥挤,但没有更多的空间可以舒适地放置东西.

                  The view is fairly congested already with content. Not really congested but no more room to fit things comfortably.

                  用户需要能够通过使用不同的启动次数 (1-5) 对该对象进行评分.

                  The user needs to be able to rate this object by using a different number of starts (1-5).

                  我会看到这种情况发生的理想方式是在 UINavigationBar 标题位置(居中)设置 5 个星形按钮(当然还有图像).

                  The ideal way I would see this happening would be to have 5 star buttons (with images of course) set in the UINavigationBar title position (centered).

                  所以看起来像这样:

                  ___________________________________
                  |                                 |
                  | Back      * * * * *     Action  |
                  |_________________________________|
                  |                                 |
                  |         view down here          |
                  |                                 |
                  

                  非常感谢您的任何意见非常,并一如既往地感谢您抽出宝贵的时间!

                  Any input would be very much appreciated and as always, thank you for your time!

                  推荐答案

                  您可以创建具有 5 星评级功能的自定义小部件并将其添加到 navigationItem

                  You can just create your custom widget with the 5 star rating functionality and add it to the navigationItem

                  self.navigationItem.titleView = customWidget;
                  

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

                  上一篇:如何全局更改 UINavigationBar 颜色? 下一篇:Swift – 使用 popViewController 并将数据传递给您要返回的 ViewController

                  相关文章

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

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

                      <tfoot id='YFeBa'></tfoot>

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