I have a UISplitViewController
whose detail is a UIPageViewController
. Each page view controller just shows a WKWebView
.
The problem is that on an iPhone 6(s) Plus in landscape mode, I can't scroll from page to page using the page view controller if the html being displayed includes the very common <meta name='viewport' content='width=device-width'>
. I can still scroll, zoom and pan the WKWebView
, but the UIPageViewController
simply will not allow me to turn the page.
The problem doesn't occur in other horizontally-regular environments (iPads in either orientation), nor in any compact ones (iPhone 6 Plus in portrait mode, or other iPhones). It doesn't matter whether the UIPageViewController
uses the "scroll" transition style or the page curl.
Am I doing something wrong, or is this an Apple bug? If the latter, are there any workarounds?