質問編集履歴

2

補足

2022/10/17 09:59

投稿

junko_kobayashi
junko_kobayashi

スコア11

test CHANGED
File without changes
test CHANGED
@@ -42,3 +42,15 @@
42
42
  参考URL
43
43
  https://developer.apple.com/documentation/watchkit/wkextendedruntimesession
44
44
 
45
+
46
+ > 補足
47
+ ```swiftUI
48
+ func startTimerButtonPressed() {
49
+ print(WKApplicationState.RawValue())
50
+ var session = WKExtendedRuntimeSession()
51
+ session.start()
52
+ print(session.state.rawValue)
53
+ }
54
+ ```
55
+ としても
56
+ 全て0だったので、sessionがstartしていないと考えています。

1

文章変更

2022/10/17 07:14

投稿

junko_kobayashi
junko_kobayashi

スコア11

test CHANGED
@@ -1 +1 @@
1
- SwiftUI WKExtendedRuntimeSessionが実行きな
1
+ Apple Watchバックグラウンド処理をした
test CHANGED
File without changes