<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tokizuoh</author_name>
  <author_url>https://blog.hatena.ne.jp/tokizuoh/</author_url>
  <blog_title>カルボナーラ街道</blog_title>
  <blog_url>https://tokizuoh.hatenablog.com/</blog_url>
  <categories>
    <anon>UIKit</anon>
  </categories>
  <description>※ 記事最下部に追記あり（2022/07/06 19:25） 開発環境 &gt; xcodebuild -version Xcode 14.0 Build version 14A5229c Xcodeはbetaだが本記事の内容はiOS16未満のAPIを使用。 モチベーション 背景色からpreferredStatusBarStyleを動的に生成したい。 view controllerの背景色が白に近い時は .darkContent に、黒に近い時は .lightContent を設定したい。 作ったもの 動画 www.youtube.com 差分 .darkContent .lightContent …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftokizuoh.hatenablog.com%2Fentry%2F2022%2F07%2F06%2F094650&quot; title=&quot;背景色からpreferredStatusBarStyleを動的に設定する - カルボナーラ街道&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/t/tokizuoh/20220705/20220705231456.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-07-06 09:46:50</published>
  <title>背景色からpreferredStatusBarStyleを動的に設定する</title>
  <type>rich</type>
  <url>https://tokizuoh.hatenablog.com/entry/2022/07/06/094650</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
