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

How to set Bundle Ids, App Identifiers and Provisioning Profiles to publish a WatchOs App made with SwiftUI and XCode?

I made a watchOS app with Xcode 12 and SwiftUI but I really struggle trying to publish it. An watchOS app has three pieces of code: the app the watchkit app the watchkit extension I've tried to use the same bundle id for all (in the format:…
Syl.H
  • 221
  • 2
  • 10
0
votes
2 answers

Is there a way to share Firebase Auth sign in between iOS and WatchOS apps?

I'm working on an app where I'm using anonymous sign in from the iOS app and I would like to share that authentication with the WatchOS app. I've set the keychain access group to be the same on both the ios and watchos apps and call…
0
votes
1 answer

WKInterfaceLabel not updating in WKInterfaceController - Swift Apple watch dev

I'm creating an apple watch app but I can't seem to get the simple act of updating the label on a controller to work. I've tried this in multiple functions but none of them are updating the label from it's default text. I've added print statements…
impo
  • 747
  • 1
  • 11
  • 37
0
votes
1 answer

How to determine Watch Orientation (i.e. is the Digital Crown on the right or the left?)

I wanted to know how to determine whether the Digital Crown is at the upper right or the lower left. Since I found the solution I wanted to let others know as well. See answer...
Gin Tonyx
  • 383
  • 1
  • 11
0
votes
1 answer

How to build a PagerView in WatchOS

How can I build or get (library) a PagerView in WatchOS. I can't find a way to do it without SwiftUI. I have a library for UIKit (https://github.com/WenchaoD/FSPagerView) but i cant use it for watchOS
SwiftiSwift
  • 7,528
  • 9
  • 56
  • 96
0
votes
1 answer

How to check RTL-Language in WatchKit

How can I check if the watch has an RTL-Language set? I tried the following but it didn't work.
SwiftiSwift
  • 7,528
  • 9
  • 56
  • 96
0
votes
1 answer

Getting Healthkit step data from a time range in an Independent watchOS App

Sorry if this is a simple question but I'm having trouble finding a concrete answer. When I created an app for fitbit I needed to create a script to be run from the Fitbit app because the fitbit watch didn't hold all the historical step data I…
impo
  • 747
  • 1
  • 11
  • 37
0
votes
0 answers

How to disable notifications from WatchOS target to remove ITMS-90078 warning?

I selected include notification scene when creating a watchOS target app. After finishing development I did not use the notification scenes and deleted: the related interface controllers from the watch storyboard the related notification controller…
Dirk
  • 25
  • 8
0
votes
1 answer

WatchOS establish server connection

I have a client - server IOS application. In addition, I need to write an application for it on WatchOS. So I have 2 questions: When I send a command from Apple Watch, do I need to connect to the server from the watch or transfer information to the…
0
votes
0 answers

Swift: Local Notification on iPhone and independent Watch App

I work on an app for iOS and watchOS. The watch app is independent but users will be able to use it side-by-side to the iPhone app, synced via iCloud. The iOS app includes a daily reminder (via UNUserNotificationCenter) to open the app, the…
garytechy
  • 1
  • 2
0
votes
1 answer

Preprocessor Macro for watchOS version number

WKInterfaceTextField is only available in watchOS 6.0, so I am needing to exclude the @property from watchOS versions lower than 6.0. Is there a preprocessor macro that I can use in the .h file to exclude the @property unless it is watchOS 6.0?
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
0
votes
0 answers

WatchOS detect if body present for heart rate

In watchOS, is there a way to detect if a body is present to determine whether or not to show a heart rate? I am finding that when I take the watch off, the heart rate sensor keeps returning values. I want to show "-" when the watch is taken…
harpo666
  • 21
  • 5
0
votes
1 answer

How to determine the current Apple device model number?

I know there are a lot of similar questions on Stack Overflow (this one, for example). But I want to determine the Apple device model number, not model name. It should be a string like A1823 or A2404.
Roman Podymov
  • 4,168
  • 4
  • 30
  • 57
0
votes
0 answers

Swift 5 & CloudKit: recordFetchedBlock does not work on real device

I'm thankfully using https://medium.com/better-programming/data-persistence-cloudkit-b12e575bd85c to create my first app using CloudKit and it works all perfectly, as long as I don't run the watchKit App on my real Apple Watch with watchOS 7. When…
garytechy
  • 1
  • 2
0
votes
1 answer

Can the "Product Name" property safely be set or should the target be renamed

I'm entirely new to development for Apple Platforms. I started by installing Xcode and setting up a new watchOS project. I noticed that I have three "products" within my new project: My App My App WatchKit App My App WatchKit Extension The first…
LuMa
  • 1,673
  • 3
  • 19
  • 41