<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yshigu</author_name>
  <author_url>https://blog.hatena.ne.jp/yshigu/</author_url>
  <blog_title>yshigu’s diary</blog_title>
  <blog_url>https://yshigu.net/</blog_url>
  <categories>
    <anon>applewatch</anon>
    <anon>薬の飲み方</anon>
  </categories>
  <description>２月11日 登録画面とデータの更新 ２月5日 週間記録を追加 前回の投稿 ２月11日 登録画面とデータの更新 要約 前回はタブビューを追加し、週間記録を表示できるようにしましたが、自動更新は盛り込まれていませんでした そこで、①deleteAuthorizationで00:01にデータ更新。②.onAppear{Timer…で20分毎に画面更新を作成しました。 データ更新 UserNotification.frameworkをimportし、指定時間にプッシュ通知を有効にし、その時にデータを更新させました 初めて起動すると「通知」するか聞いてきます。下記図を参照 → 画面更新 データの更新に合…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyshigu.net%2Fentry%2F2025%2F02%2F11%2F183807&quot; title=&quot;AppleWatch　薬の新しい飲み方【登録画面とデータの更新】 - yshigu’s diary&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/yshigu/20250211/20250211185135.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-02-11 18:38:07</published>
  <title>AppleWatch　薬の新しい飲み方【登録画面とデータの更新】</title>
  <type>rich</type>
  <url>https://yshigu.net/entry/2025/02/11/183807</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
