adjustViewport(byVerticalOffset:)
Adjusts the viewport rect by the specified offset if needed.
Declaration
func adjustViewport(byVerticalOffset verticalOffset: CGFloat)Parameters
- verticalOffset:
A
CGFloatthat represents the offset amount to apply to the viewport.