Gives haptic feedback to the user.
- watchOS 2.0+
The type of haptic feedback to play. Always use the defined haptic types for their intended purposes. For a list of possible values, see
Use this method to engage the haptic engine in Apple Watch. The type of feedback you specify defines the specific feedback that is delivered.
This method has no effect when called while your shared
application property is either
inactive. By default, you cannot play haptic feedback in the background. The only exception are apps with an active workout session. For more information, see Running in the Background in
Do not call this method multiple times in quick succession. If the haptic engine is already engaged when you call this method, the system stops the current feedback and imposes a minimum delay of 100 milliseconds before engaging the engine to generate the new feedback. Use of the haptic engine also consumes power, and using the engine too much may create a noticeable drain on the Apple Watch battery, as well as a negative user experience.