[iOS] How to Disable/Prohibit Scrolling in UIScrollView and UITableView

Tadashi Shigeoka ·  Thu, May 23, 2013

I’ll introduce how to disable scrolling operations in UIScrollView and UITableView for iOS app development.

iOS Development
//Enable scrolling
[scrollView setScrollEnabled:YES];

//Disable scrolling
[scrollView setScrollEnabled:NO];

You can toggle scroll enable/disable with setScrollEnabled.

That’s all from the Gemba.