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

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

        • <bdo id='QosOy'></bdo><ul id='QosOy'></ul>
        <tfoot id='QosOy'></tfoot>

        如何在 iPhone 中以编程方式将图像旋转 90 度?

        How to programmatically rotate image by 90 Degrees in iPhone?(如何在 iPhone 中以编程方式将图像旋转 90 度?)

              <tbody id='ldNBG'></tbody>

            • <bdo id='ldNBG'></bdo><ul id='ldNBG'></ul>

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

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

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

                  问题描述

                  可能重复:
                  如何将 UIImage 旋转 90 度?

                  如何在 iPhone 中以编程方式将图像旋转 90 度?

                  How to programmatically rotate image by 90 Degrees in iPhone?

                  推荐答案

                  //create rect
                  UIImageView *myImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"my_image.png"]];
                  
                  //set point of rotation
                  myImageView.center = CGPointMake(100.0, 100.0);
                  
                  //rotate rect
                  myImageView.transform = CGAffineTransformMakeRotation(M_PI_2); //rotation in radians
                  

                  这篇关于如何在 iPhone 中以编程方式将图像旋转 90 度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Why does Objective-C use YES/NO macro convention instead of true/false?(为什么 Objective-C 使用 YES/NO 宏约定而不是 true/false?)
                  Is there any difference between bool, Boolean, and BOOL in Objective-C?(Objective-C 中的 bool、Boolean 和 BOOL 之间有什么区别吗?)
                  BOOL to NSString(布尔到 NSString)
                  Set bool property of all objects in the array(设置数组中所有对象的布尔属性)
                  Is comparing a BOOL against YES#160;dangerous?(将 BOOL 与 YES 进行比较是否危险?)
                  Objective-C dictionary inserting a BOOL(插入 BOOL 的 Objective-C 字典)
                • <i id='Jplk5'><tr id='Jplk5'><dt id='Jplk5'><q id='Jplk5'><span id='Jplk5'><b id='Jplk5'><form id='Jplk5'><ins id='Jplk5'></ins><ul id='Jplk5'></ul><sub id='Jplk5'></sub></form><legend id='Jplk5'></legend><bdo id='Jplk5'><pre id='Jplk5'><center id='Jplk5'></center></pre></bdo></b><th id='Jplk5'></th></span></q></dt></tr></i><div id='Jplk5'><tfoot id='Jplk5'></tfoot><dl id='Jplk5'><fieldset id='Jplk5'></fieldset></dl></div>
                  <legend id='Jplk5'><style id='Jplk5'><dir id='Jplk5'><q id='Jplk5'></q></dir></style></legend>
                      <tbody id='Jplk5'></tbody>

                    • <small id='Jplk5'></small><noframes id='Jplk5'>

                          <tfoot id='Jplk5'></tfoot>

                          • <bdo id='Jplk5'></bdo><ul id='Jplk5'></ul>