<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inon29</author_name>
  <author_url>https://blog.hatena.ne.jp/inon29/</author_url>
  <blog_title>It’s now or never</blog_title>
  <blog_url>https://inon29.hateblo.jp/</blog_url>
  <categories>
    <anon>SwiftUI</anon>
    <anon>iOS</anon>
  </categories>
  <description>概要 SwiftUIを使ってピンチイン・ピンチアウトによってView(画像に関わらずViewコンポーネント)を拡大・縮小する方法について記載します。 環境 Swift: 5.2.4 Xcode: 11.6 サンプル環境 struct ContentView: View { var body: some View { ZStack { Circle() .foregroundColor(Color.blue) .frame(width: 200, height: 200) } } } 今回は、画面に円を一つ配置し、この円をピンチジェスチャーで拡大/縮小します。 ピンチジェスチャーの取得 Swif…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finon29.hateblo.jp%2Fentry%2F2020%2F08%2F15%2F130813&quot; title=&quot;【SwiftUI】ピンチによるViewの拡大と縮小 - It’s now or never&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/i/inon29/20200815/20200815130637.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-15 13:08:13</published>
  <title>【SwiftUI】ピンチによるViewの拡大と縮小</title>
  <type>rich</type>
  <url>https://inon29.hateblo.jp/entry/2020/08/15/130813</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
