<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yotubarail</author_name>
  <author_url>https://blog.hatena.ne.jp/yotubarail/</author_url>
  <blog_title>ばろぐ・ほいダウン</blog_title>
  <blog_url>https://yotubarail.work/</blog_url>
  <categories>
    <anon>Swift</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>今回はAssetsに入れた画像をSwiftUIで表示してみたいと思います。 画像を表示させる 基本 画像の表示だけなら以下のコードでOKです。 Image(&quot;IMG_6599&quot;) IMG_6599のところにはAssetsにセットしたときの名前を入れてください。 画像がプレビューの画面よりも大きいので、なんのこっちゃわからない状態で表示されてしまいました。 切り取り 画面いっぱいに広がっている画像を切り取ってみましょう。 切り取るにはフレームのサイズを指定します。 Image(&quot;IMG_6599&quot;) .frame(width: 300, height: 300) .clipped() .fram…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyotubarail.work%2Fentry%2Fswiftuiimage&quot; title=&quot;SwiftUIで画像を表示させる - ばろぐ・ほいダウン&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yotubarail/20200706/20200706142657.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-07-06 15:25:06</published>
  <title>SwiftUIで画像を表示させる</title>
  <type>rich</type>
  <url>https://yotubarail.work/entry/swiftuiimage</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
