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

Stored result of json decode is suddenly gone/ Observed Object doesn't react in WatchOS

I decode json data from an iPhone to a watch and store it into an object (custom class: PeopleObj) which is declared as @ObservableObject. However, the contenview containing this object doesn't get the data This is the data model: struct Person:…
Red
  • 1,425
  • 1
  • 10
  • 15
0
votes
1 answer

How to add Page Control in watch application

I have seen several apps that is using page control to navigate among screens in watch application. But I wonder how can we add that control in watch interface. Please help.
Anju
  • 563
  • 2
  • 6
  • 13
0
votes
1 answer

Is there a similar way to access music files on WatchOS as there is for iOS (E.g. MPMediaPickerController)?

I have been wanting to make a standalone equalizer app for the Apple Watch as I am usually not near my phone while using the Music Player on the Apple Watch. When not near the phone, the equalizer shuts off and this is a pain. However to do so, I…
0
votes
0 answers

Get IP address of Apple Watch

How to access IP address of Apple Watch programatically? I have used UIDevice extension in iOS for finding IP. This is an extension of UIDevice but which is not supported in watchOS what could be the other option? extension UIDevice { private…
Anju
  • 563
  • 2
  • 6
  • 13
0
votes
0 answers

Update Firebase from watchOs 6 independent application

I went through this link https://firebase.google.com/support/release-notes/ios and I only came across the latest added feature to send Push Notifications using the new FCM. I also want to update the database and change the values of fields in an…
0
votes
1 answer

Problem with building with fastlane and cocoa pods in a watch-target

In our project we have 3 whitelabels. We added a companion watch app (with extension) for each of these targets. So far so good. Now I wanted to integrate the new target isn't our pod-file. To make it easy to modify I created a pseudo-inheritance…
0
votes
0 answers

How can I imitate the Apple Watch activity complication to go past 100%?

I'm working on an Apple Watch app that tracks a type of daily progress. I want my complication to look like the Apple Activity complication where progress > 100% is shown with a full circle and a small break in the circle. But the complications and…
rharding
  • 551
  • 1
  • 3
  • 14
0
votes
1 answer

WatchKit: Video Duration

Is there a way to determine the duration of a video currently set to WKInterfaceInlineMovie? I need to implement a circular progress bar displaying a current progress. I have a URL of the file initially downloaded from network. It plays well, but I…
lazarevzubov
  • 1,767
  • 2
  • 14
  • 24
0
votes
1 answer

How to handle watchOS CoreData background save correctly?

My watchOS app uses core data for local storage. Saving the managed context is done in background: var backgroundContext = persistentContainer.newBackgroundContext() //… backgroundContext.perform { //… let saveError =…
Reinhard Männer
  • 14,022
  • 5
  • 54
  • 116
0
votes
1 answer

WCSession is not reachable for sending messages

I want to trigger few events to my watch extension app from the iOS app but I'm getting the error saying WCSession is not reachable. All my events are time-sensitive, So I can't wait for the user to turn on the watch display to trigger the events.…
Krishna Kirana
  • 438
  • 4
  • 10
0
votes
0 answers

Can't compile iOS project with Watch App on XCode 11.4.1

After updating XCode to its latest version, I can't compile my project with a companion watch app . The error it presents is the following: error: The deployment targets of your WatchKit app (2.0) and WatchKit extension (8.2) must be equal. I'v…
JMiguel
  • 1,459
  • 1
  • 10
  • 12
0
votes
0 answers

SwiftUI Read HealthKit Data

I am trying to read HealthKit Data from HealthKit in SwiftUI. How can I access variables like burned calories, heart rate or walked distance in one day? I posted my code that I wrote below. I want to put the variables for example in a TextField. var…
user6825883
  • 59
  • 10
0
votes
1 answer

Find Apple Watch advertising data from another Apple Watch over BLE to calculate distance

I want to catch advertising data (eg. Watch name and RSSI) from another Apple Watch, over BLE. We know that using BLE on Apple Watch can only do Central. They do not need to be connected, just to catch each other advertising data and calculate…
0
votes
1 answer

WatchKit page control position

Is there a way to move the default page control that shows up on a page-based WatchKit app? The interface is created in a storyboard, I didn't find a way to add the control separately, nor any way to access the default one.
Alexandru Motoc
  • 582
  • 7
  • 14
0
votes
1 answer

Sending data from apple watch to iPhone when iphone is not nearby using Swift

I am using Xcode 11.3.1. I wants to make an iOS and watchOS app using swift5. I understand we need to use WatchConnectivity class to send and receive data using message but, my concern is that how do we send data when Apple Watch is far from iphone.…
Maulik Vekariya
  • 554
  • 7
  • 19