iOS Enable/Disable Scrolling


Example

Property scrollEnabled stores a Boolean value that determines whether scrolling is enabled or not.
If the value of this property is true/YES, scrolling is enabled, otherwise not.The default value is true

Swift

scrollview.isScrollEnabled = true

Objective-C

scrollview.scrollEnabled = YES;