<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>rils_k</author_name>
  <author_url>https://blog.hatena.ne.jp/rils_k/</author_url>
  <blog_title>まだどこにもないアプリを作る</blog_title>
  <blog_url>https://rils-k.hatenablog.com/</blog_url>
  <categories>
    <anon>Xcode</anon>
    <anon>Swift</anon>
  </categories>
  <description>Photosフレームワークをインポート import Photos まずPHPhotoLibraryChangeObserverを追加(継承) class ViewController: UIViewController,PHPhotoLibraryChangeObserver{ エラーの赤丸を押せば勝手に出てくる func photoLibraryDidChange(_ changeInstance: PHChange) { print(&quot;フォトライブラリに何らかの変更がありました&quot;) } を追加。フォトライブラリに変更があったらこのブロックの中がよばれる ViewDidLoad{}内でオブ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Frils-k.hatenablog.com%2Fentry%2F2021%2F06%2F29%2F173805&quot; title=&quot;【Swift】フォトライブラリに何らかの変更があったときに検知する方法 - まだどこにもないアプリを作る&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-29 17:38:05</published>
  <title>【Swift】フォトライブラリに何らかの変更があったときに検知する方法</title>
  <type>rich</type>
  <url>https://rils-k.hatenablog.com/entry/2021/06/29/173805</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
