I have a webview which is scrolling as desired underneath a navigation bar.
However, when I first load the controller, the page loaded in the webview is scrolled so that
You can also set the content offset of the webview's scrollview in viewDidAppear:
, for example:
[self.webView.scrollView setContentOffset:CGPointMake(0, -64) animated:NO];
Unfortunately, it has no effect if placed in viewWillAppear:
, so when the view appears you will see a visible jump in the content as it shifts from underneath the navigation bar to its new location.