Questions tagged [watchkit]

WatchKit is an integral part of the Apple Watch experience for third-party applications. It contains the classes for creating Apple Watch applications and it ensures that an Apple Watch application can talk to its corresponding WatchKit extension.

WatchKit allows iOS developers to create rich, third-party app extensions with actionable items and notifications for the Apple Watch, as they've built apps for the iPhone and iPad.

More information on WatchKit:

3223 questions
1
vote
1 answer

Apple Watch simple "Modular Large" complication not showing in customize screen unless I enable all other complications too

I am testing and able to reproduce this in a very simple app. I am following the WWDC 2015 video: https://developer.apple.com/videos/play/wwdc2015/209/ Another tutorial which uses the same info is:…
1
vote
1 answer

WatchKit - TableView with special effect

I would like to create a tableView on an Apple Watch app with a specific effect... You can see it in this video (go to 2 min). This is a different effect than the default one. I don't know how to do this, if anybody can help me by explaining me how…
1
vote
2 answers

Repeating Audio in WatchKit (AVAudioPlayer?)?

I am wanting to loop a local audio file in my Apple Watch App. Currently I am using AVAudioPlayerNode and AVAudioEngine which works well but I cannot figure out how to loop the sound. I noticed that I can use AVAudioPlayer, which has the handy…
1
vote
0 answers

WKRefreshBackgroundTask only handled once per hour

I've written a Watchkit Extension (WatchOS 5.1.1) where I'm attempting to fetch data every 30 minutes or so. I've read so far that the background task scheduling is not punctual by the minute, but pretty reliable to use couple times an hour. I'm…
Axel dabee
  • 33
  • 7
1
vote
0 answers

WatchKit interfaceController not found

When running my App I get an error that an interface controller was not found, which crashes the app in runtime. AppNameWatchExtension[809:615971] [default] -[SPRemoteInterface _interfaceControllerWithID:]:2087: ComF: interfaceController for…
Lukas Köhl
  • 1,569
  • 2
  • 15
  • 28
1
vote
0 answers

watchOS App doesn't get installed on watch / magically appearing files in xcode

I have a very strange bug with my application and xcode behaviour. I was working on my ios/watchos app when suddenly my app would launch on the iphone but would not get installed on the watch (both hardware, not simulator). I looked in the console…
Thieri
  • 203
  • 1
  • 10
1
vote
0 answers

How to bypass Do Not Disturb and allow alarm to go off when running a timed workout session in Swift and Watchkit

I’m building an app that allows user to set a timer/alarm for a workout session in HealthKit. But the problem is, if the user has turned on the "Workout Do Not Disturb" option on the Watch app, it won't allow the alarm to notify the user that the…
Cris Denopol
  • 300
  • 2
  • 15
1
vote
2 answers

watchOS: How to use HKWorkoutSession without heart rate sensor

I am working on a fitness app where for now I don't want to gain any data through HealthKit. Actually, keeping my app in the background via HKWorkoutSession was the only thing which forced me to use HealtKit for now. The problem which I have is…
user2990759
  • 127
  • 1
  • 5
1
vote
0 answers

Getting a fatal error while creating simple pickerItems for WatchKit picker

I am trying to create a WatchKit picker in Xcode to let the user choose number of laps (1 to 10). However, after creating the items I get a fatal error when trying to put them in the picker. "Thread 1: Fatal error: Unexpectedly found nil while…
Martin S
  • 11
  • 2
1
vote
1 answer

How to add custom action on back button in apple WatchKit app in swift?

In our Apple Watch swift application we have two controllers(Login and dashboard controller). After login user will land to dashboard page and after clicking on back button it is again landing to login page. So, my requirement is that after…
Sandip patil
  • 123
  • 2
  • 14
1
vote
2 answers

Crash when tapping on a WatchKit table row

I can display several table rows but when I tap one of those rows, the app crashes at tableView.setNumberOfRows(:) I don't have any clue of what is going on. Any advise or tips are welcome. Thanks in advance. I don't understand why this happens…
1
vote
0 answers

Apple Watchkit notifications

I have an iOS application where I incorporate rich notifications and add images and actions. Unfortunately these look great on the phone and very poor on the watch. I'm having a hard time finding out if I can customize the look of the watch kit…
mKane
  • 932
  • 13
  • 30
1
vote
1 answer

View image (refresh animation) before table on Apple Watch in middle of screen

I would like to know, if it is possible to view image (with some alpha) before table always in middle of the screen. I have tried package the Table and the Image into Overlap Group with Size: height - Relative to Container, but then the table is not…
Altair
  • 325
  • 3
  • 16
1
vote
1 answer

How do I dismiss a WKInterfaceController that was presented with contextForSegue?

I have a WKInterfaceController with a WKInterfaceTable that lists some events a user has recorded in my app. A user can tap a row of the table to see more details about that event. To accomplish this, I've overridden…
gohnjanotis
  • 6,513
  • 6
  • 37
  • 57
1
vote
0 answers

Recording sound in watchOS Xamarin

I am very new to developing with Xamarin so I am writing it in C# since this is what I know. I am trying to make a simple Watch application that will record audio and then return the decibel value. I know this is possible since there is a watch app…
1 2 3
99
100