<tfoot id='dXRnC'></tfoot>

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

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

        如何在 Interface Builder 中旋转 UIImageView?

        时间:2023-05-18

          <tbody id='mWrFl'></tbody>

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

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

              1. <legend id='mWrFl'><style id='mWrFl'><dir id='mWrFl'><q id='mWrFl'></q></dir></style></legend>
                • 本文介绍了如何在 Interface Builder 中旋转 UIImageView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  是否可以在 XCode 的 Interface Builder 中旋转 UIImageView?就像我可以在 Photoshop 中那样,我可以缩放和旋转图像.

                  Is it possible to rotate an UIImageView in Interface Builder from XCode? Like I can do it in Photoshop, where I can scale and rotate an image.

                  我知道这可以通过代码实现,但有没有办法在界面生成器中做到这一点?

                  I know it is possible by code but is there a way to do this in the interface builder?

                  推荐答案

                  你不能在当前版本的 Xcode 中这样做.您可以通过 https://feedbackassistant.apple.com/

                  You can't do this in the current version of Xcode. You may submit a feature request to Apple at https://feedbackassistant.apple.com/

                  但是如果你想这样做,你需要编写一些代码

                  However if you want to do it, you will need to write some code

                  #define RADIANS(degrees) ((degrees * M_PI) / 180.0)
                  
                  theView.transform = CGAffineTransformRotate(theView.transform, radians)
                  

                  这篇关于如何在 Interface Builder 中旋转 UIImageView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:Android:高效的屏幕旋转处理 下一篇:如何使用平移手势旋转场景中的对象 - SceneKit

                  相关文章

                      <bdo id='7YPSs'></bdo><ul id='7YPSs'></ul>

                  1. <small id='7YPSs'></small><noframes id='7YPSs'>

                    1. <tfoot id='7YPSs'></tfoot><legend id='7YPSs'><style id='7YPSs'><dir id='7YPSs'><q id='7YPSs'></q></dir></style></legend>

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