Questions tagged [watchos]

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with iOS, which is the operating system for Apple's mobile devices, but shouldn't be confused with it.

watchOS is Apple's operating system for Apple Watches. Optimized for touch-based interfaces, this OS has a lot in common with , but shouldn't be confused with it.

Currently, the Apple Watch is the only device that runs watchOS. Its API is called WatchKit (see ).

Helpful links

1236 questions
0
votes
1 answer

Swift - WatchKit: Setting background color for selected row on table (WKInterfaceTable)

Swift - WatchKit: How to set background color for selected row on watch tables? thanks in advance
Reza Kashkoul
  • 43
  • 2
  • 7
0
votes
2 answers

SwiftUI - watchOS NowPlayingView

I already created my Apple Watch music app with background sound in SwiftUI. I want to somehow present NowPlayigView. The only thing I found on the Apple Developer website about it is in the attached picture. Maybe the solution is very simple, but I…
Antoni277
  • 3
  • 1
0
votes
2 answers

Get heartRateVariabilitySDNN during LiveWorkoutSession at WatchOS

I've a made a simple watchOS app to run a running session and monitor heart rate variability(sdnn). Running on a simulator I succeed to get other p-s like distance, heart rate or calories, but not sdnn. Here is my way to setup a WorkoutManager: …
NikitaAbrosimov
  • 127
  • 1
  • 8
0
votes
1 answer

How to trigger an Apple Watch haptic feedback (or notification) from an active app after the screen just turns off?

I'm working on a standalone countdown App for Apple Watch. When the timer is over, the watch rings or vibrate. There are three different situations where this can happen: The app screen is active on the user's wrist: that's the easiest part; when…
kassagi
  • 11
  • 5
0
votes
1 answer

kotlin KMM face for watchOS?

Is it possible to create a Kotlin Multiplatform Mobile (KMM) watch face? It is possible to set a watchOS target for a KMM app, but this seems to be primarily for a regular watchOS app. I cannot find any documentation about doing this for a watch…
Bastiaan Quast
  • 2,802
  • 1
  • 24
  • 50
0
votes
0 answers

Can't transfer variable from one watchos view to another view, Using swiftui

I am trying to get data from one view to another. I can not figure out how to get values from the fourth view array into the Third view. I am not using storyboards. I tried using @EnvironmentObject but can not make it work. New to coding. In…
Dmar
  • 25
  • 6
0
votes
1 answer

SwiftUI WatchOS: Animation behaves strangely when placed inside a list?

I have this pulse animation below which works well by itself, but when I place it inside of a List then the animation of the circles pulsing is correct but all of the circles also move vertically from the top to the center of the screen as well? …
GarySabo
  • 5,806
  • 5
  • 49
  • 124
0
votes
0 answers

Why the @FocusState not working on WatchOS

@State private var username: String = "" @FocusState private var usernameFieldIsFocused: Bool @State private var showUsernameTaken = false var body: some View { VStack { TextField("Choose a username.", text: $username) …
qun xue
  • 1
  • 1
0
votes
1 answer

Toggling Animation based on Apple Watch's Always On Scenen Phase not working as expected?

I may be doing something wrong, but following Apple's Docs for how to pause animation to support Always On in WatchOS 8, with the code below my animation will pause correctly when the the scene phase is inactive, but when it becomes active again the…
GarySabo
  • 5,806
  • 5
  • 49
  • 124
0
votes
1 answer

((Any) throws -> Bool) throws -> Optional') cannot conform to 'BinaryInteger'

I am facing an issue trying to convert message from apple watch's WC session [String: Any] as I am customizing a sample project that retrieves heart rate from apple watch and send it to iPhone. I am hoping that I can get some help as I am already…
Michael
  • 370
  • 3
  • 11
0
votes
1 answer

Sync iOS and WatchOS Data with UserDefaults

Am unfamiliar with UserDefaults and wanted to give it a shot, so I set up storing all of my data in a user defaults class (as shown) import Foundation import Combine class UserSettings: ObservableObject { @Published var mon: [UserClass] { …
0
votes
1 answer

How do I set the navigation title colour on WatchOS

I can't figure out how to set the navigation title colour on my watch OS app. I've tried everything I can think of, but it's always grey. How do I make "My App" blue in this example @main struct GiveBloodApp: App { @StateObject…
rykeeboy
  • 645
  • 2
  • 8
  • 22
0
votes
1 answer

Xamarin WatchOS error when sending app to App Store "The WatchKitSupport2 folder is missing"

I am using Visual Studio and Xamarin Forms to create watchOS app. When I send already built app, using Organizer in XCode I got information: "ITMS-90484: Invalid WatchKit Support - The WatchKitSupport2 folder is missing. Rebuild your app using the…
YoungEddie
  • 405
  • 7
  • 26
0
votes
1 answer

SwiftUI - How to perfectly align multiple Text with different font sizes in VStack?

I have 2 Text elements in a VStack. They are set to different font size. How do I get the first glyph of the 2 Text elements to align perfectly left? Is that even possible? Below is the code snippet: extension Font { static let countDownTitle:…
billibala
  • 321
  • 4
  • 14
0
votes
1 answer

Get from WatchOS near RealTime HR Data without register data or contribute rings

There is a way to get the HR form apple watch without start an HKWorkoutSession with an HKLiveWorkoutBuilder or to restrict the writing in Health Kit of any data form HKLiveWorkoutBuilder and HKWorkoutSession. I'm interested in any method that can…
FlorinD
  • 481
  • 2
  • 8
  • 25