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

Haptic feedback on apple watch from iOS

I want to have something similar to what the timer app on iOS is doing - it somehow synchronises with apple watch and runs the timer on both devices. Couldn't figure out how they do that - any ideas?
kovpas
  • 9,553
  • 6
  • 40
  • 44
0
votes
0 answers

Log Noise WatchOS "nw_protocol_get_quic_image_block_invoke dlopen libquic failed"

I creating a simple websocket session. It append only during the first call of the function initConnection. Everything work fine but I am affraid to have issues on real device despite what I have read. It seems to come from websocket.resume(). My…
grougrou
  • 1
  • 2
0
votes
0 answers

Running a Task triggered by Apple Watch

I have an App, that collects some data using URLSession Requests. These requests can't run in parallel, because I need the response of one request to trigger the next one. This whole process could take up to 30 seconds. On iPhone this works fine…
Urkman
  • 1,298
  • 1
  • 16
  • 32
0
votes
0 answers

All Complications with the same name

I made some complications for the Apple Watch. I uses Intents for this complications. This code is used to add the complications: func provideVehicleItemOptionsCollection(for intent: ConfigurationIntent, with completion: @escaping…
Urkman
  • 1,298
  • 1
  • 16
  • 32
0
votes
1 answer

WatchOS Complication displayName not showing

The complication displayName show blank or app name. Showing Blank Name I implemented complication from widgetKit. And I set configurationDisplayName, description. But the displayName show blank or app name. The complication that I selected is…
0
votes
1 answer

WidgetKit on watchOS with SwiftUI - view with Image(uiImage:) does not render on watchOS

This is on iOS 16.1 with Xcode 14.1. I have this view here which I wish to use on both iOS 16 Lock Screen as a Lock Screen widget and watchOS 9 as a complication, as .accessoryCircular: struct ComplicationImageCircularView: View { let name:…
Skk
  • 126
  • 1
  • 8
0
votes
0 answers

HealthKit on watchOS app doesn't deploy to device

I am trying to add HealthKit to my watchOS app (with companion app). By default when you add a watchOS the bundle identifier is .watchkitapp Once I add HealthKit to the Signing & Capabilities tab on my watch app target, when i try to deploy to my…
Nilsymbol
  • 515
  • 1
  • 9
  • 25
0
votes
0 answers

Convert string to uiimage watchkit

Please tell me, I broke my whole head, how can I convert the hash (just string)that I receive from the server into a qr code on a watch using a watch kit. I have related apps: watch app and phone app. I can do it very easily on my phone - just…
Avoopihra
  • 45
  • 4
0
votes
0 answers

Is POSIX C networking / BSD socket APIs a supported API for Apple platfroms like iOS, iPadOS, tvOS?

We are writing a networking library that supports communication between endpoints on a proprietary protocol over UDP. We want to build that library not only for Apple Platforms but also other non-Apple platforms (like Windows, Linux, Android etc.)…
Abhishek Jain
  • 9,614
  • 5
  • 26
  • 40
0
votes
1 answer

Is there a curvesAtBottom equivalent in SwiftUI?

On watchOS you have the curvesAtBottom and curvesAtTop https://developer.apple.com/documentation/watchkit/wkinterfacetable/3042495-curvesatbottom It allow to have rescale on elements on top and bottom of a view on a WKInterfaceTable image I can't…
grougrou
  • 1
  • 2
0
votes
0 answers

Unable to read real time data from HealthKit when App is in foreground

We are to trying to fetch data from Health kit on Specific Interval of time. One first attempt we are able to fetch data from HealthKit and It shows last collected samples. After first attempt, We measured Heart rate from Watch, So It should be…
0
votes
2 answers

How do I add color to navigationTitle in SwiftUI

.navigationTitle(Text("Hello").foregroundColor(.orange)) .navigationBarTitleDisplayMode(.inline) How do I add a foreground color to a Navigation Bar Title in SwiftUI? This is a watchOS app and everything I tried doesn't work.
David M
  • 51
  • 4
0
votes
1 answer

Same App Appears Twice in Apple Health Sources since migrating to SwiftUI App Lifecycle

I recently updated an Apple Watch App from the app + extension lifecycle to the SwiftUI lifecycle. Or to put it another way, the bundle Ids have changed so…
lewis
  • 2,936
  • 2
  • 37
  • 72
0
votes
0 answers

Access data that was saved on the Watch App Documents folder in the Files.app

I want to show data that was saved on the Watch App Documents folder in the Files.app on the paired iPhone. I can save and retrieve the image within the watchOS app: let path = FileManager.default.urls(for: .documentDirectory, in:…
vbpaixao
  • 1
  • 1
0
votes
1 answer

Add button in SwiftUI Stepper not hittable during XCTest

My stepper is defined as follows (Standalone WatchOS app) Stepper(value: $myCount) { Text("\(myCount)").font(.footnote).accessibilityIdentifier("count_label") }.accessibilityIdentifier("my_stepper") It is fully functional on the real /…
angryip
  • 2,140
  • 5
  • 33
  • 67