Contents

scroll(to:at:animated:)

Scrolls the specified object to the given position onscreen.

Declaration

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

Parameters

  • object:

    The interface object to scroll to.

  • scrollPosition:

    The specified object’s desired position on the screen.

  • animated:

    A Boolean value that determines whether the scroll action is animated.

See Also

Managing Scrolling