Questions tagged [watchos-4]

Used for problems unique to the upgrade to watchOs 4. Use watch-os for most issues (so more people will see it)

68 questions
1
vote
1 answer

Xcode 9, watchOS4, no longer showing 15% background CPU limit?

With Xcode 9.0 and watchOS 4, it looks like when the app is doing work in the background (say in a HKWorkoutSession), the CPU Report tool within Xcode does not show the CPU average/cap and the 15% threshold max. I'm unable to find documentation on…
MAVO
  • 153
  • 1
  • 10
1
vote
1 answer

Whats the proper way to get the ETA in WatchKit

Inside iOS It's possible to get the user ETA using MKDirectionsRequest to get the user ETA from a place to another, but how to get this data inside watchkit without asking for the iOS app? It's important to the watch app be full standalone, so…
GGirotto
  • 848
  • 2
  • 10
  • 31
1
vote
1 answer

Recording audio on WatchOS 4

At WWDC17, new recording features were announced for WatchOS 4. I've been trying to get a PCM array, but I was not successful. Currently I tried to use the following code: Check AudioSession: override func awake(withContext context: Any?) { …
Alesqui
  • 6,417
  • 5
  • 39
  • 43
0
votes
1 answer

How to change Apple Watch's app language in code?

I would like to change Watch OS app language in code. How to do it? I want to change app's interface orientation to right-to-left if language needs it too. Is it possible? Will it be automatic?
xyz_abc
  • 1
  • 2
0
votes
1 answer

Using CLBeaconRegion with Apple Watch

I have been doing my research and can't find anything on this. Is it possible to use an Apple Watch as an iBeacon? CLBeaconRegion is not available :(
0
votes
1 answer

The data on Apple watch send to firebase

I want to send the acceleration data which is retrieved from Apple Watch to Cloud Storage for Firebase. However, Firebase is not support watchOS. Should I have sent the acceleration data to the storage via iPhone? Please teach me a better method.
sakai
  • 21
  • 2
0
votes
1 answer

watchOS app's icon is blank on the Watch app on iPhone

I recently created a WatchKit extension of my iOS app. Xcode created 2 new targets: WatchOS Target WatchOS Extension Each of these target has its own Assets.xcassets file. I've included the proper icons with the correct dimensions to both of these…
7ball
  • 2,183
  • 4
  • 26
  • 61
0
votes
2 answers

Audio file cannot be played on watchOS after background

When playing an audio file in watchOS (using SpriteKit): run(SKAction.playSoundFileNamed("ready.wav", waitForCompletion:false)) It will works until you background the app (says face the watch outwards) and back, then the audio file cannot be played…
Lim Thye Chean
  • 8,704
  • 9
  • 49
  • 88
0
votes
0 answers

Add string to Watch Kit App from iOS parent app on Watch App Install

I am using watchOS 4 and am wondering how I can have some default values sent to the Watch App when it gets installed? These values need to come from the iOS parent app. I don't see a way of doing this on installation, is there?
Nic Hubbard
  • 41,587
  • 63
  • 251
  • 412
0
votes
1 answer

Launching the parent application from the watch app

How can I launch the parent application in background mode on the iPhone directly from the watch? On Endomondo watch app when you press "start", the parent application will launch itself in the background on the iPhone and start sending data (such…
Oskar Gusgård
  • 457
  • 7
  • 20
0
votes
1 answer

Swift: cancel local notification (scheduled on handset) from watch

I'm working on a project in which I schedule local notifications from the handset. The bulk of the app is on the watch so I'm trying to make it possible for the user to remove pending notifications from the watch. It seems that local notifications…
rharding
  • 551
  • 1
  • 3
  • 14
0
votes
1 answer

WatchOS open new interface from notification without launching app

What I'm hoping to do is this: I want to have a notification on the watch that has custom actions. When one of the button actions is tapped I was hoping to have a new interface appear from the notification, but without launching the app. I want the…
rharding
  • 551
  • 1
  • 3
  • 14
0
votes
2 answers

How to determine a 90 degree turn on Apple Watch?

I have the following case to determine the user's turn 90 degrees or more with only using Apple Watch. I wanted to do this with CLLocationManager and startUpdatingHeading, but Heading does not support watchOS. At the moment I'm at a dead end, and I…
Alexander Khitev
  • 6,417
  • 13
  • 59
  • 115
0
votes
1 answer

watchOS LTE communication with iPhone app

I can let my WatchKit app interact with the iPhone app using WCSession but this doesn't seem to work over LTE. How can I make that work? Does Apple provide anything for this? I need to communicate with the app about once per minute. I found this on…
0
votes
1 answer

Programmatically setting WKPickerItem won't go above a certain value?

Can't figure this out, via the code below I let the user set a value on a WKPickerItem, store it in UserDefaults, then load it up the next time the InterfaceController is loaded and attempt to set the PickerItem with the stored value. The problem…
GarySabo
  • 5,806
  • 5
  • 49
  • 124