Contents

adjustViewport(byVerticalOffset:)

Adjusts the viewport rect by the specified offset if needed.

Declaration

func adjustViewport(byVerticalOffset verticalOffset: CGFloat)

Parameters

  • verticalOffset:

    A CGFloat that represents the offset amount to apply to the viewport.

See Also

Accessing the viewport characteristics