1

I have an app that is a single view: a UIWebView that gets pdfs loaded into it. The pdfs are loaded from an ECSlidingViewController.

For some reason, when the app goes from portrait to landscape, the WebView remains in the same position and there is a large dark area to the left of the screen.

Portrait:

enter image description here

Landscape:

enter image description here

I have tried a number of techniques, but they each have problems. For example I can't simply reload a landscape view when the orientation changes, the user will lose their place in the webview. Any ideas?

Marcel Marino
  • 962
  • 3
  • 17
  • 34

0 Answers0