readium / SDKLauncher-iOS

A small iOS application to serve as a launcher/testbed for the Readium SDK.
BSD 3-Clause "New" or "Revised" License
71 stars 47 forks source link

Layout needs fix on switching device orientation #70

Open dilawer opened 8 years ago

dilawer commented 8 years ago

Hello,

I am facing a problem. Let me explain it in steps

  1. On portrait mode and a reader view is opened. I zoom out with a pinch gesture.
  2. Switch my device from portrait to landscape
  3. On landscape mode the content inside the webview shrinks and leaving the empty spaces of webview

Attached is the screenshot how it looks in landscape mode.

Goal: I actually want to do the page size to fit the screen, whenever it moves from portrait to landscape or landscape to portrait. Please let me know how and from where I can do this.

Thanks

img_2640

danielweck commented 8 years ago

Hello, perhaps you could try to restore the original zoom level in your webview, when you switch from portrait to landscape ratio (or vice-versa)?