<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y-oka</author_name>
  <author_url>https://blog.hatena.ne.jp/y-oka/</author_url>
  <blog_title>NRIネットコムBlog</blog_title>
  <blog_url>https://tech.nri-net.com/</blog_url>
  <categories>
    <anon>テクノロジー</anon>
    <anon>SwiftUI</anon>
    <anon>Swift</anon>
    <anon>iOS</anon>
  </categories>
  <description>概要 環境 実装 値を渡す まとめ 概要 SwiftUIのViewでUIViewControllerやUIViewを呼び出す方法はUIViewControllerRepresentableやUIViewRepresentableを使用することで可能です。 逆にUIViewControllerの中でSwiftUIのViewを表示するにはUIHostingControllerを使用します。 今回はUIHostingControllerを使ってUIViewControllerの中でSwiftUIのViewを表示する方法を紹介します。 tech.nri-net.com 環境 この記事は以下のバージョン…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.nri-net.com%2Fentry%2Fswiftui_view_in_uiviewcontroller&quot; title=&quot;【UIKit】UIHostingControllerを使ってUIViewControllerの中でSwiftUIのViewを表示する - NRIネットコムBlog&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/y-oka/20221105/20221105154540.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-16 09:00:00</published>
  <title>【UIKit】UIHostingControllerを使ってUIViewControllerの中でSwiftUIのViewを表示する</title>
  <type>rich</type>
  <url>https://tech.nri-net.com/entry/swiftui_view_in_uiviewcontroller</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
