Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

Webview page displaying very small second time

$
0
0

I have a Twitter embedded timeline that I am displaying in a Webview. The Webview is in a Content Page that has a grid on top with 3 columns containing buttons (acting as tabs) followed by ListViews and a WebView. Based on the grid selection, either one of the ListViews or the WebView is made visible and the others are not. Each time one of the buttons is clicked the appropriate ListView or WebView is refreshed.

The first time the 'Twitter' button is pressed the WebView appears properly. If I select one of the other buttons then return to the Twitter button the Webview displays approximately 1/4 size scrunched into the upper left portion of the display error.

I have put a ForceLayout in the button click event, but that does nothing. The Custom Renderer that I use for WebView (in order to make it rotate) does not get the LayoutSubviews method called when the 2nd call to the WebView is made, but it does on the first call.

What makes the Webview scrunch the display? What can I do to get it to refresh and / or display properly???

I am testing with both the iPhone Simulator and on an iPhone 5.


Viewing all articles
Browse latest Browse all 75885

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>