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

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

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

      2. 从右到左语言翻转 UIImageViews

        Flip UIImageViews for Right to Left Languages(从右到左语言翻转 UIImageViews)
      3. <i id='DAhfy'><tr id='DAhfy'><dt id='DAhfy'><q id='DAhfy'><span id='DAhfy'><b id='DAhfy'><form id='DAhfy'><ins id='DAhfy'></ins><ul id='DAhfy'></ul><sub id='DAhfy'></sub></form><legend id='DAhfy'></legend><bdo id='DAhfy'><pre id='DAhfy'><center id='DAhfy'></center></pre></bdo></b><th id='DAhfy'></th></span></q></dt></tr></i><div id='DAhfy'><tfoot id='DAhfy'></tfoot><dl id='DAhfy'><fieldset id='DAhfy'></fieldset></dl></div>

          <tfoot id='DAhfy'></tfoot>

              <bdo id='DAhfy'></bdo><ul id='DAhfy'></ul>
              1. <small id='DAhfy'></small><noframes id='DAhfy'>

                <legend id='DAhfy'><style id='DAhfy'><dir id='DAhfy'><q id='DAhfy'></q></dir></style></legend>
                  <tbody id='DAhfy'></tbody>
                • 本文介绍了从右到左语言翻转 UIImageViews的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  iOS 在使用像阿拉伯语这样的 RTL 语言时会自动翻转整个 ViewController,并且在大多数布局方面做得很好,尤其是文本.默认行为是翻转布局,但 UIImageViews 保持相同的方向(因为您通常不想反转图像).

                  iOS automatically flips the entire ViewController when using a RTL language like Arabic and does a great job with most of the layout, especially text. The default behavior is to flip the layout but leave UIImageViews the same orientation (since you generally don't want to reverse images).

                  有没有办法指定当手机设置为 RTL 语言时某些图像应该翻转(例如箭头)?

                  Is there a way to specify that some images should be flipped (such as arrows) when the phone is set to a RTL language?

                  推荐答案

                  iOS 9 包含您可以使用的 imageFlippedForRightToLeftLayoutDirection 方法,该方法在 RTL 本地化时自动翻转 UIImageView 中的图像.

                  iOS 9 includes the imageFlippedForRightToLeftLayoutDirection method that you can use, that automatically flips the image in a UIImageView when in an RTL localization.

                  这篇关于从右到左语言翻转 UIImageViews的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  iOS AutoLayout - get frame size width(iOS AutoLayout - 获取帧大小宽度)
                  Auto layout constraints issue on iOS7 in UITableViewCell(UITableViewCell中iOS7上的自动布局约束问题)
                  How to resize superview to fit all subviews with autolayout?(如何调整超级视图的大小以适应所有具有自动布局的子视图?)
                  Springs in Auto Layout: Distribute views evenly, with constraints, in Xcode 5(自动布局中的弹簧:在 Xcode 5 中使用约束均匀分布视图)
                  reloadData() of UITableView with Dynamic cell heights causes jumpy scrolling(具有动态单元格高度的 UITableView 的 reloadData() 导致跳跃滚动)
                  What is NSLayoutConstraint quot;UIView-Encapsulated-Layout-Heightquot; and how should I go about forcing it to recalculate cleanly?(什么是 NSLayoutConstraint“UIView-Encapsulated-Layout-Height?我应该如何强制它干净地重新计算?) - IT屋-程序员
                  <legend id='EbEr9'><style id='EbEr9'><dir id='EbEr9'><q id='EbEr9'></q></dir></style></legend>
                  • <small id='EbEr9'></small><noframes id='EbEr9'>

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