Questions tagged [watchos-5]

Only use this tag for questions that specifically apply to the Apple Watch OS5. Use the [watch-os] tag for questions related to general [watch-os]. Hardware questions generally belonging to the Appe Watch should be in the Ask Different community.

Watch OS5 is a operating system for SmartWatches produced by Apple. Its key features include:

  • Activity competitions
  • Workout updates
  • Advanced running features
  • and many more

Read more about it on the developer page

55 questions
1
vote
1 answer

Swift - Unable to retrieve CMSensorDataList records

I'm making a Watch app that will record user acceleration. I've used CMSensorRecorder from the CoreMotion Framework to do this. The flow of the program right now is that the user presses a button on the watch, which triggers acceleration to be…
Bryan
  • 743
  • 1
  • 5
  • 12
1
vote
1 answer

iOS WatchOS5 - how to detect programmatically if Apple Watch was on the wrist (worn) at specific time interval?

I'm interested if there is some HealthKit or other data source I can query to know if the Apple Watch was worn/in contact with the wrist at a given time interval. Currently I'm relying on HealthKit query for HeartRate and it appears that if I get no…
Alex Stone
  • 41,555
  • 51
  • 213
  • 379
1
vote
0 answers

Saving High Frequency(100Hz) Sensor Data using performBackgroundTask in Core Data Lead to Data Loss and Crash the app?

I am trying to develop a watchOS app that collects Sensor(accelerator) data at a very high frequency(100Hz). I am using Core Data to store the data and export it to a CSV file, then send to iPhone. The app crashed after a short time, because some…
Evan
  • 305
  • 1
  • 3
  • 9
1
vote
1 answer

What are the options for persisting data on Apple Watch?

I'm using Apple Watch to collect sensor(e.g. accelerator) data, and need to store the data first on the Watch and send to iPhone afterwards. What are the possible ways to store the data? As it would be a large amount of data, NSUserDefault…
Evan
  • 305
  • 1
  • 3
  • 9
1
vote
1 answer

Apple Watch Series 4 complications

When creating complication images for old complications, we can see all 4 sizes: But when I wanted to add images to new complications for Series 4, there are only 1 size? The documentation…
Lim Thye Chean
  • 6,652
  • 9
  • 40
  • 77
1
vote
2 answers

RubyMotion cannot find simulator devices watch app

I have a RubyMotion iOS app and watch app. The project root contains the iOS and a subdirectory my_watch_app contains the watch app. I followed the guide. Everything is good except for when I try to run the watch app with rake watch. It says it…
Chris McKnight
  • 8,330
  • 4
  • 26
  • 29
1
vote
1 answer

Can't use AWS on watchOS?

I need to develop an application for Watch OS, which will be download the chosen files from amazon web services. But for that I need aws sdk for watch. I haven't found any on the web. Is it possible to modify the AWS SDK for iOS so it can be used…
1
vote
2 answers

Apple Watch AppIcon for Long-Look notification is missing in Assets.xcassets

When uploading a new build to Appstore Connect, it gives a warning that "Missing Icon". So I went to Watchkitapp's asset catalogue and I can't find the long look notification icon anywhere to be added? Where as short look notification can be seen.…
guhan0
  • 626
  • 6
  • 18
1
vote
1 answer

Asset Catalog images not displaying in Watch Simulator using Xcode 10?

My asset catalog images (.pdf images shared between iPhone and Watch app) are not displaying when running the Apple Watch Simulator using Xcode 10. They do display on the Xcode 9 watch simulator as well as on devices running Watch OS5. Is this an…
GarySabo
  • 4,076
  • 5
  • 27
  • 76
0
votes
1 answer

Can't understand apple watch complications life cycle & get it to update

I know there are many questions & examples out there but still, I can't understand how exactly complications updates so please help me out. Here is my code to run & update the complications on watch os 5 to 7: I want to update my complications every…
Ahmadreza
  • 5,262
  • 2
  • 36
  • 55
0
votes
0 answers

Coreml EXC_BAD_ACCESS (code=1, address=0x7d66228) Error on WatchOs

I have a coreml model created with Create ML. The model works on iPhone Simulator. However it doesn't work on watch simulator. What may be the problem? It gives the following error: EXC_BAD_ACCESS (code=1, address=0x7d66228) expression produced…
0
votes
1 answer

Firebase Database on AppleWatch

I have a Firebase RealtimeDatabase to Display timetables on the iPhone. How can i get that data to AppleWatch? NSUserDelegate or WKUrlSession. I want to keep it as Updated as possible and I Made a Data Type for the TableCells. For NSUserDefaults I…
Tim Z
  • 19
  • 3
0
votes
1 answer

Removing the Digital Clock while on Full Screen in WatchKit App

I am creating a game for the Apple Watch. I was able to set the interface controller to full screen in the attributes inspector (which also required having a SpriteKit Scene in the interface controller). The full screen functionality does work, but…
user487588
  • 477
  • 2
  • 6
  • 17
0
votes
2 answers

Saved path shown with simulator, but not while testing with actual smartwatch device (Audio Recorder)

I hope you can help me out. I tried to write a small simple program where I record the audio for 5 seconds and save it in the document directory. I have tested it with the simulator and I could see the path in the output and I could also see the…
0
votes
1 answer

AppleWatch: Digital Crown haptic feedback

I'm building WathcOS app. There is a simple view with just a label. And when user scroll Digital Crown, I would like to change label text. In My WKInterfaceController I did crownSequencer.delegate = self crownSequencer.focus() func…
Jim
  • 7,796
  • 16
  • 63
  • 118