<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>gorokuma</author_name>
  <author_url>https://blog.hatena.ne.jp/gorokuma/</author_url>
  <blog_title>Gorokuma Diary</blog_title>
  <blog_url>https://gorokuma.hatenadiary.org/</blog_url>
  <categories>
    <anon>iPhoneDev</anon>
  </categories>
  <description>新作アプリ用に同期アイコンを作ったので、これを回転させるのに色々調べたのですが、みんなそれぞれ書いていることが少しずつ違って悩んだので、こうするのが一番シンプルだろうというのを書いてみます。この例ではImageViewのLayerを操作して90度ずつ無限に回転を繰り返します。 任意の角度を指定したい場合はnumberWithFloat:の数値とrepeatCountでうまく調整してください。(90度以下の数値を指定して必要回数繰り返せば良いはず） CALayer *layer = imageView.layer; CABasicAnimation* animation = [CABasicAn…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgorokuma.hatenadiary.org%2Fentry%2F20120415%2F1334523873&quot; title=&quot;UIViewをぐるぐる回転させるシンプルな方法 (注:追記あり) - Gorokuma Diary&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-15 06:04:33</published>
  <title>UIViewをぐるぐる回転させるシンプルな方法 (注:追記あり)</title>
  <type>rich</type>
  <url>https://gorokuma.hatenadiary.org/entry/20120415/1334523873</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
