Why does the content height of my UIWebView not change with rotation?
From Portrait to Landscape, the content width should expand and the content height should shrink. It does visually as it should, but not according to my NSLog.
Critical added info about my UIView.
1) my UIWebView is not the whole UIView, but a sub-view of my overall UIView.
2) with the first-swipe through my code, I change the frame.size.height of the UIWebView to the UIWebView's contentHeight via:
UIScrollView *scrollViewInsideWebView = [[webView_ subviews] lastObject];
webViewContentHeight = scrollViewInsideWebView.contentSize.height;
Okay, we then push our UIButton below it ... everything works as it should with Portrait.
Then I rotate it to Landscape and the above webViewContentHeight does not change at all. And, of course, the UIButton stays pushed way down where it was in Portrait with a tall(er) webViewContentHeight.
???