ios - 如何在iOS中以横向和纵向旋转图像?
<p><div>
<aside class="s-notice s-notice__info post-notice js-post-notice mb16"role="status">
<div class="d-flex fd-column fw-nowrap">
<div class="d-flex fw-nowrap">
<div class="flex--item wmn0 fl1 lh-lg">
<div class="flex--item fl1 lh-lg">
<b>关闭</b>。这个问题需要更多 <a href="https://stackoverflow.com/help/closed-questions" rel="noreferrer noopener nofollow">focused</a> .它目前不接受答案。
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>您可以像在 Imageview 中那样旋转图像</p>
<pre><code>self.imageview.transform = CGAffineTransformMakeRotation(M_PI * 90 / 180.0);//90 as in 90 degree
</code></pre></p>
<p style="font-size: 20px;">关于ios - 如何在iOS中以横向和纵向旋转图像?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/32391097/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/32391097/
</a>
</p>
页:
[1]