The autoscroll-behavior is located in the UITableViewController functionality.
To disable the automatic scrolling I found two ways:
- Use instead of the
UITableViewControllersimply aUIViewController– set the datasource and delegate on your own. - Override the
viewWillAppearmethod 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