The autoscroll-behavior is located in the UITableViewController
functionality.
To disable the automatic scrolling I found two ways:
- Use instead of the
UITableViewController
simply aUIViewController
– set the datasource and delegate on your own. - Override the
viewWillAppear
method and don’t call[super viewWillAppear: animated]
With both solution you disable not only the Autoscroll, but also some other nice but not essential features, that are described in the overview of AppleĀ“s class reference:
https://developer.apple.com/documentation/uikit/uitableviewcontroller