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

Multi platform cocoapods library configuration

I have a set of snippets for iOS, MacOS, WatchOS and TvOS that I would like to embed in a Cocoapod library (possibly supporting also Carthage as well). The tricky part for me is that I have targets for all the platforms (iOS, MacOS TvOS etc...) but…
GrizzlyBear
  • 1,098
  • 1
  • 13
  • 27
0
votes
1 answer

How to detect a tap on a WKInterfaceGroup added within a table row controller?

So this is my InterfaceController hierarchy: -> InterfaceController -> Table -> RowController -> Group A -> Group B -> Gesture I've also implemented override…
0
votes
1 answer

Notifications on watchOs

I made an app. And I send push notifications to the app. And I want to received them on watchos too. Do I have to make a project for watchOs, and make an app? Or automatically I received all push notifications from my iphone (especially from my app)…
Point37
  • 5
  • 5
0
votes
1 answer

Is there an API to check if a passcode has been enabled on a user's Apple Watch?

I'm implementing a security feature on a WatchOS app, I want the user to be able to use this feature only if a passcode has been enabled on the WatchOS device. Is there a LocalAuthentication equivalent that I can use with WatchKit?
0
votes
1 answer

Apple Watch silent haptic feedback or custom vibration

The idea is to play haptic feedback without any sound even if device's sound is turned on. I've tried to play music, video on device but haptic's sound only became quieter. Maybe I can create custom haptic feedback but I couldn't find the way to do…
0
votes
2 answers

WatchOS background color animation

I'm trying to make a simple animation in WatchKit. I want to blink the specific color, and then come back to black background. It all works fine... once. After this first blink nothing will happen. I've tried searching but couldn't find relevant…
mpiwosal
  • 23
  • 7
0
votes
1 answer

why use Fastlane gym for WatchOS app failure

I used gym command to build the watch app after setting up project with proper provisioning profiles and identifiers. I am able to see ARCHIVE SUCCEEDED message on gym output and there are errors failures from verbose log, but it is not able to…
White wu
  • 95
  • 1
  • 8
0
votes
1 answer

iOS HealthKit - how to get the absolutely latest, current heart rate, like the watch heart rate complication?

I have the following function that gets the recent heart rate from the HealthKit. When I examine the sample received, it often has a timestamp within the last 5 minutes. However, if I look at the Apple Watch Heart Rate complication, it sometimes has…
Alex Stone
  • 46,408
  • 55
  • 231
  • 407
0
votes
2 answers

Is it possible to play an audio in apple watch simulator? - Xcode 10.1

I am trying to play an audio in apple watch simulator but it keeps giving this error. The operation couldn’t be completed. (OSStatus error 2003334207.) Is it possible to play an audio with simulator? Audio url is fine. Here is my code. self.player…
hinali lad
  • 73
  • 10
0
votes
0 answers

SpriteKit - SKShader Aliasing issue with using a custom shader

I am using a custom fragment shader to create a color gradient along the circular path of an SKShapeNode. Here is the result: What can I do, in SpriteKit or in the custom shader, to eliminate the aliasing? P.S. I'll want this to work on watchOS as…
pius
  • 119
  • 2
  • 2
  • 13
0
votes
1 answer

Size of binary for Apple Watch apps

I'm developing an iOS app with a corresponding watchOS app. The watchOS app is not required and the iOS app should still be accesable to people who doesn't have an Apple Watch. My question is regarding the size of the app; the binary size. Does the…
0
votes
0 answers

Keep getting accelerometer data when iPhone goes to sleep

I am using CoreMotion and the CMMotionManager to get accelerometer data in my iOS and WatchOS app. It works fine except that it stops gathering data as soon the phone is locked. Is it possible to keep getting the sensor updates while being locked ?
Stanislas Heili
  • 295
  • 2
  • 10
0
votes
1 answer

Can't use page based navigation after using presentController to change view?

When switching from a viewcontroller to another I face this problem were I can't navigate through the next page action from the vievcontroller that I land on. Further explanation: I have 3 views and 3 different viewcontrollers. I do the first…
Thosc1
  • 108
  • 1
  • 10
0
votes
0 answers

WatchOS application is NOT removed after removing main iOS app

I'm developing an iOS app with WatchKit app. When I build the main app with Xcode it installs on my iPhone and the WatchKit app installs on my Watch too. But when I remove the main app from my iPhone the WatchKit app isn't removed from my Watch and…
Anton K
  • 326
  • 1
  • 13
0
votes
1 answer

No such module Error "NotificationCenter" WatchOS, Swift

I'm getting an module error in two of my controllers who tries to import the NotificationCenter framework. I have added the framework in "linked frameworks and libraries" but I'm still getting the error. I even tried cmd + shift + k, but it did…
Thosc
  • 7
  • 8