8

I plan to create an Apple Watch app. Is there a way to access the haptic feedback via WatchKit?

mobileideafactory
  • 1,640
  • 1
  • 22
  • 30

3 Answers3

19

Yes. As of watchOS 2.0, you can give haptic feedback with the play() method method like this:

WKInterfaceDevice.currentDevice().play(.success)
Pang
  • 9,564
  • 146
  • 81
  • 122
hgwhittle
  • 9,316
  • 6
  • 48
  • 60
  • 2
    There'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
3

For now, the only way to give haptic feedback is by showing a notification.

phatmann
  • 18,161
  • 7
  • 61
  • 51