<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anthrgrnwrld</author_name>
  <author_url>https://blog.hatena.ne.jp/anthrgrnwrld/</author_url>
  <blog_title>MILLEN BOX</blog_title>
  <blog_url>https://anthrgrnwrld.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>前回はStoryboardにてボタン画像の貼り付けしましたが、今回はソースコードの貼り付けを行います。 Storyboardも便利ですが、ソースコードの方が明確に目に見えて指定するので、こちらの方が好みの方も多いのではないでしょうか。 Githubは以下です。 github.com あと以下のページを参考にしています。 ▶︎Study Swift: UIButton with an image. Scale: aspect fit. 自分ポイント1 準備として、StoryboardのUIButtonからOutletを.swiftファイルに紐付けしておいて下さい。 自分ポイント2 viewDid…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanthrgrnwrld.hatenablog.com%2Fentry%2F2015%2F10%2F17%2F123659&quot; title=&quot;UIButtonに画像を貼り付ける (ソースコード編 UIViewContentModeで丁度よく) (swift2.0)(UIViewContentMode)(AspectFit) - MILLEN BOX&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>http://cdn-ak.f.st-hatena.com/images/fotolife/a/anthrgrnwrld/20151017/20151017112133.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-17 12:36:59</published>
  <title>UIButtonに画像を貼り付ける (ソースコード編 UIViewContentModeで丁度よく) (swift2.0)(UIViewContentMode)(AspectFit)</title>
  <type>rich</type>
  <url>https://anthrgrnwrld.hatenablog.com/entry/2015/10/17/123659</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
