bounces
A Boolean value that controls whether the scroll view bounces past the edge of content and back again.
Declaration
var bounces: Bool { get set }Discussion
If the value of this property is true, the scroll view bounces when it encounters a boundary of the content. Bouncing visually indicates that scrolling has reached an edge of the content. If the value is false, scrolling stops immediately at the content boundary without bouncing. The default value is true.
Setting bounces is equivalent to setting both bouncesHorizontally and bouncesVertically to the same value. To set different behavior for the two axes, set those properties to distinct values.