isScrollEnabled
A Boolean value that determines whether scrolling is enabled.
Declaration
var isScrollEnabled: Bool { get set }Discussion
The default value is true, which indicates that scrolling is enabled. Setting the value to false disables scrolling.
When scrolling is disabled, the scroll view doesn’t accept touch events; it forwards them up the responder chain.