Instance Property

isTableScrollingHapticFeedbackEnabled

A Boolean value that determines whether haptic feedback coordinates with the appearance of new rows as the user scrolls through a table.

Declaration

var isTableScrollingHapticFeedbackEnabled: Bool { get set }

Discussion

By default, this property is set to true. In Apple Watch Series 4 and later, the watch provides haptic feedback as the user rotates the digital crown. When this property is true, the watch provides haptic feedback whenever new rows scroll into view. However, if there are additional interface items at the top level, or if the table view contains a row that is taller than the screen, the crown falls back to providing linear feedback.

When this property is false, the watch provides linear feedback. For example, you can use this property to force linear feedback when a table contains rows of varying heights, and the row-based feedback doesn’t feel right.

See Also

Scrolling

func scroll(to: WKInterfaceObject, at: WKInterfaceScrollPosition, animated: Bool)

Scrolls the specified object to the given position onscreen.

enum WKInterfaceScrollPosition

Onscreen scroll positions.

func interfaceDidScrollToTop()

Tells the interface controller that the user has performed a scroll-to-top gesture (for example, tapping the status bar) and that the scrolling animation has finished.

func interfaceOffsetDidScrollToTop()

Tells the interface controller that the user has scrolled to the top of the interface and that the scrolling animation has finished.

func interfaceOffsetDidScrollToBottom()

Tells the interface controller that the user has scrolled to the bottom of the interface and that the scrolling animation has finished.