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
0 answers

Remove local notifications from notification center in Stand Alone WatchOS App

I am developing a stand-alone WatchOS app in Swift and I am setting multiple local notifications for the same time but in 3-minute intervals for example if the user sets a reminder for 4 pm then I set reminders for 4:00, 4:03, 4:06, 4:09 and 4:12 pm…
dmaulikr
  • 458
  • 5
  • 20
0
votes
1 answer

Xcode 14 cannot install watchos app on Apple watch simulator

I have just opened a new swiftui watchOs App from the template in Xcode with a Ios companion app. Without changing anything I wanted to run both apps on the simulators. Ios app is installed fine on the Iphone simulator as show below in the image,…
Emil
  • 6,411
  • 7
  • 62
  • 112
0
votes
0 answers

CMWaterSubmersionManager setting delegate (or is it just a simple issue of missing something different)

I am following Apple documentation https://developer.apple.com/documentation/coremotion/accessing_submersion_data Created a new watchOS app with iOS companion app. Went into ContentView default code and added few lines as per documentation (also…
justas180
  • 1
  • 1
0
votes
0 answers

Apple Watch IMU Data stops logging on wrist down

We’re developing a watchOS app to log IMU and audio data concurrently. IMU data is logged using a CMMotionManager object, while audio is recorded using an AVAudioSession. Both of these are stored on-device, and transferred to a paired iPhone once…
0
votes
0 answers

Alamofire not being installed properly - unable to properly code https request for Watch

I'm currently trying to send an https request from an Apple Watch to an iPhone using Alamofire, which I understand is the only way to do this. I've tried installing using Cocoapods, but this hasn't worked and has resulted in an error each time. So,…
0
votes
0 answers

Can we preview live cam output on Watch App that is paired with an iPhone App using Swift UI?

I am trying to show live cam preview on watch app also but didn't found a suitable solution. To show camera preview on iPhone, I am using AVfoundation. But also want to show live cam output on watch app. Don't is it possible or not. If possible then…
0
votes
0 answers

XCode Duplicating Project Schema target , Watch App, Watch App Kit Extension Doesn't work on old project

I have been trying to Duplicate the Project target, Watch App, and Watch App Kit Extension Doesn't work on the old project as in I created a project in 2018, and at that time I added the watch app and watch kit extension but now due to some…
Akash S
  • 17
  • 7
0
votes
0 answers

Trailing ToolbarItem placement on WatchOS

I need a small button to be visible in most of my views, so I tried placing it in the toolbar. If I set ToolbarItem.placement to .cancellationAction, it will show left of the title, which is ok. It'd be be ideal though, if the the button would show…
szagun
  • 123
  • 8
0
votes
0 answers

Using NTP (or TrueTime) on watchOS using Xcode

Background info I'm writing a cross-platform App that can send updates to linked devices. These updates are based on time. During testing I've noticed that devices (mobile phones, watches or TV's) using the iOS or Android platform can have a very…
Bash
  • 125
  • 6
0
votes
1 answer

ClockKit and WidgetKit Complications in the same app

I am working on an application for watchOS that needs support from watchOS 7.0 to the last version, in terms of the app itself its going well, but I'm having problems with the complications, I have two sets of working complications, one made with…
0
votes
0 answers

Sharing data between iOS and watchOS application (and widget) - WatchConnectivity

I am trying to send data from iOS application to watchOS app and widget (using WatchConnectivity). Former receives data just fine, but I wasn't able to figure out why data does not make it to the widget on watchOS. Here's some code: My iOS app that…
Mr. 0xCa7
  • 100
  • 7
0
votes
0 answers

Auth0 Login Approaches for Standalone watchOS App

in the process of migrating mobile offerings from an in-house authentication system to auth0. one reason is adding SSO functionality, which the in-house system does not support. currently, have an iPhone app as well as a related standalone watchOS…
Steve Yohanan
  • 757
  • 5
  • 17
0
votes
0 answers

WatchOS - Using live GPS and heading data to determine best VMG - looking for the best approach

Asking the interweb for inspiration. I'm a windsurfer/sailor that races Olympic style course races and want to write a watchOS app to help me know when I'm am at my best VMG. The Velocity Made Good (VMG) calculation is easy VMG = Boat Speed *…
NeilD
  • 1
  • 1
0
votes
0 answers

How to retrieve IP address of Apple Watch programmatically in watchOS?

I have been trying to find a way to retrieve the IP address of an Apple Watch running watchOS programmatically. I would greatly appreciate it if someone could guide me through the process or provide an alternative solution to obtain the IP address…
0
votes
1 answer

Networking error on Independent Apple Watch Apps

I created a project with "watch-only App" template in XCode, running on Apple Watch Series 6, the console output network error: ErrorDomain =NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." However, It works fine on the…