I plan to create an Apple Watch app. Is there a way to access the haptic feedback via WatchKit?
Asked
Active
Viewed 3,065 times
3 Answers
19
Yes. As of watchOS 2.0, you can give haptic feedback with the play()
method method like this:
WKInterfaceDevice.currentDevice().play(.success)
-
2There's also a full guide [here](http://www.sneakycrab.com/blog/2015/6/22/haptic-feedback-with-the-taptic-engine-in-watchkit-and-watchos-2-wkinterfacedevice-and-wkhaptic) which goes through the different `WKHapticType` options and what they all mean. – thealienisreal Jun 23 '15 at 17:29
11
No there isn't. The following is from this post https://devforums.apple.com/thread/254540?tstart=15.
There is no access to these hardware features at this time, though there is presentation of a text input controller via WKInterfaceController, which will involve the microphone. Past that, I have no information concerning forthcoming releases.

Stephen Johnson
- 5,293
- 1
- 23
- 37
-
2Note that this is true only for the original version of WatchKit. See other answers for API features of subsequent versions. – Kristopher Johnson Jun 19 '15 at 13:18
3
For now, the only way to give haptic feedback is by showing a notification.

phatmann
- 18,161
- 7
- 61
- 51