Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stop tableviewcontroller scrolling

I am adding a textview to UITableviewController's view and now I want to stop the scrolling of view of UITableviewController. But I am unable to do so. As its a view so no enable and disable scrolling properties like table view are existing. Any ideas???


1 Answers

self.tableView.scrollEnabled = NO;

where self is your UITableViewController

like image 81
hasnat Avatar answered Mar 26 '26 17:03

hasnat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!