7

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

mobileideafactory
  • 1,580
  • 20
  • 29

3 Answers3

15

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

WKInterfaceDevice.currentDevice().play(.success)
Pang
  • 9,073
  • 146
  • 84
  • 117
hgwhittle
  • 9,146
  • 6
  • 47
  • 60
  • 1
    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
10

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,215
  • 1
  • 22
  • 37
3

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

phatmann
  • 17,810
  • 7
  • 60
  • 50