Disabling Auto Scroll UITableView

I want to disable autoscroll to top. I tried both

    [tableview setScrollsToTop:NO];

but that doesn't work.



The automatic scrolling code resides in tableViewController, so auto-scrolling can't be disabled. Instead of subclassing from UITableViewController you can subclass from UIViewController and use a tableView inside it.

If you are willing to use UITableViewController itself, you can override viewWillAppear and don't call [super viewWillAppear].

Need Your Help

Why can't parse this XML file?

java android xml android-studio

I am making an English Listening Application