Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to access the haptic feedback via WatchKit?

Tags:

ios

watchkit

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

like image 388
mobileideafactory Avatar asked Nov 20 '14 22:11

mobileideafactory


3 Answers

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

WKInterfaceDevice.currentDevice().play(.success)
like image 85
hgwhittle Avatar answered Nov 01 '22 01:11

hgwhittle


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.

like image 29
Stephen Johnson Avatar answered Nov 01 '22 02:11

Stephen Johnson


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

like image 3
phatmann Avatar answered Nov 01 '22 02:11

phatmann