Bug 30297 - WebView does not resize on iOS when change orientation
Summary: WebView does not resize on iOS when change orientation
Status: RESOLVED DUPLICATE of bug 30047
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.3
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
Depends on:
Reported: 2015-05-21 05:28 UTC by John Hardman
Modified: 2015-08-24 11:55 UTC (History)
14 users (show)

Tags: iOS WebView Xamarin.Forms resize orientation ac
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description John Hardman 2015-05-21 05:28:26 UTC
On WinPhone and Android, the WebView control re-sizes automatically (within a ContentPage) if the device changes orientation. However, on iOS the re-size does not happen. The behaviour should be consistent across the different platforms, with the re-sizing happening.
Comment 1 Chris King 2015-05-27 15:45:00 UTC
We'd be happy to help you resolve this issue. Please help us by attaching a reduced reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue. If you'd do this for us we would very much appreciate it. If you are able to reproduce the issue without modifying the platform specific projects that would eliminate a number of possibilities and likely expedite a resolution. 

Warm regards,
Xamarin Forms Team
Comment 2 John Hardman 2015-05-28 11:29:31 UTC
The Forms Gallery sample demonstrates this problem - just select WebView from the menu when running it on iOS.

I am building both the Forms Gallery sample and my own app (which also shows the problem) using Xamarin.Forms version
Comment 3 Parmendra Kumar 2015-07-06 09:50:48 UTC
I have checked this issue with Xamarin.Forms 1.4.3 and observed that WebView does not resize on iOS when change orientation. To reproduce this issue I have followed FormsGallery sample.

Screencast: http://www.screencast.com/t/o69Jw64x7ia

ZipXam Log: https://gist.github.com/Parmendrak/61a5c6cdaaeb68f45396

Environment info:

Microsoft Visual Studio Professional 2013
Version 12.0.30723.00 Update 3
Microsoft .NET Framework
Version 4.5.51641

Installed Version: Professional

Xamarin   3.11.666.0 (ebae43a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin.Android (5f55a9ef61c11b6ce0890bc91e4c71b1b92be214)
Visual Studio plugin to enable development for Xamarin.Android.

Xamarin.Forms Intellisense   1.0
Provides intellisense for Xamarin.Forms in the XML editor.

Xamarin.iOS (67b390d0d1bd741582cf7b7fd3ffea08583a3f83)
Visual Studio extension to enable development for Xamarin.iOS.

Xamarin.iOS Unified Migration   1.0
Automated migration for Xamarin iOS Classic projects to Unified

Xamarin.TestCloud.Integration   1.0
Early preview of Xamarin Test Cloud integration
Comment 4 Anthony 2015-07-29 12:50:00 UTC
I am also experiencing this issue.
Comment 5 Rui Marinho 2015-08-24 11:55:46 UTC

*** This bug has been marked as a duplicate of bug 30047 ***