Instance Property

scrollEnabled

A Boolean value that determines whether scrolling is enabled.

Declaration

@property(nonatomic, getter=isScrollEnabled) BOOL scrollEnabled;

Discussion

If the value of this property is YES , scrolling is enabled, and if it is NO , scrolling is disabled. The default is YES.

When scrolling is disabled, the scroll view does not accept touch events; it forwards them up the responder chain.

See Also

Configuring the Scroll View

directionalLockEnabled

A Boolean value that determines whether scrolling is disabled in a particular direction.

pagingEnabled

A Boolean value that determines whether paging is enabled for the scroll view.

scrollsToTop

A Boolean value that controls whether the scroll-to-top gesture is enabled.

bounces

A Boolean value that controls whether the scroll view bounces past the edge of content and back again.

alwaysBounceVertical

A Boolean value that determines whether bouncing always occurs when vertical scrolling reaches the end of the content.

alwaysBounceHorizontal

A Boolean value that determines whether bouncing always occurs when horizontal scrolling reaches the end of the content view.