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

前端 未结 3 1516
别跟我提以往
别跟我提以往 2020-12-19 06:33

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

3条回答
  •  太阳男子
    2020-12-19 06:59

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

    WKInterfaceDevice.currentDevice().play(.success)
    

提交回复
热议问题