サルでもわかるWEBプログラミング

フリーソフトのみでホームページ作成

ユーザ用ツール

サイト用ツール


00.swift:14.healthkit


14.HealthKit

HealthKitを使うためのXcodeの設定

https://i-doctor.sakura.ne.jp/font/?p=47914
AppleWatchアプリを作ってみる(7)HealthKitを設定して心拍数を表示するアプリを実機で動かす
2021年10月15日

  1. 新規WatchOSアプリ作成で、NotificationをONにする(デフォルトではON)
  2. info.plist に“Privacy – Health Update(/Share/Record) Usage Description”を追加(全部で3つ)
  3. プロジェクト > TARGETS > {プロジェクト名} WatchKit Extension > General > Frameworks, Libraries, and Embedded Content に”HealthKit.framework”を追加
  4. プロジェクト > TARGETS > {プロジェクト名} WatchKit Extension > Signing & Capabilities で、”+ Capability”をクリックして”HealthKit”を追加

https://kita-note.com/xcode-config-healthkit
【Xcode】HealthKitデータの読み込み・書き込みの設定方法について
2021/9/7

https://capacitorjs.jp/docs/ios/configuration
iOS の設定
Info.plist を設定する

https://dev.classmethod.jp/articles/how-to-show-info-plist-key-name-using-xcode/
XcodeでInfo.plistのkey名を見る方法
田中 賢治
2017.12.31

https://useyourloaf.com/blog/xcode-13-missing-info.plist/
Xcode 13 Missing Info.plist
Jul 26, 2021

https://software.small-desk.com/development/2021/09/08/xcode-no-infoplist-xcode13/
[Xcode] Xcode13 で作成した新規プロジェクトに Info.plist がない件
2021-09-08

https://zenn.dev/kyome/articles/0e8e1c4cb2bfdf
Swift: Info.plist に定義した定数を読み込む
2020.12.24

HealthKit Documentation

心拍数

https://nyxo.app/statistical-queries-with-swift-and-healthkit
How to do a Simple Statistical Query for HealthKit Data through SwiftUI
June 02, 2020

https://kita-note.com/swift-healthkit-show-heartrate
【Swift】HealthKitの心拍数(Heart Rate)を取得して表示する
2021/9/7

https://medium.com/display-and-use-heart-rate-with-healthkit-on/display-and-use-heart-rate-with-healthkit-on-swiftui-for-watchos-2b26e29dc566
Display and use Heart Rate with HealthKit on SwiftUI for WatchOS
Display the current heart rate (bpm) on the Apple Watch using the HealthKit framework and SwiftUI.
Luciano Amoroso
Jan 24, 2020

https://www.tdi.co.jp/miso/apple-watch
Apple Watchで心拍計を表示するアプリを開発してみた
2020年2月18日 Izumi Hayato

HealthKit

https://developer.apple.com/documentation/healthkit
HealthKit

https://zenn.dev/ueshun/articles/dd700cdbb61f8d
初めてのHealthKit
2021.05.03

https://zenn.dev/shikanoyouhei/articles/2ae4fda6680508
【SwiftUI 】HealthKitのデータをFireStoreに保存する方法
2021.09.24

見出し

https://qiita.com/WisteriaWave/items/e72eab4b167a63d911ee
@WisteriaWave
2020年11月24日に投稿
[iOS]XcodeのInfo.plist

見出し


00.swift/14.healthkit.txt · 最終更新: 2021/10/22 by adash333

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki