Resizing a web view can be achieved by changing the view port of the webview by setting a new rectangular area to display the web view.
You can also control the x, y, width and height properties individually.
We suggest using the viewPort to update the position and size as it results in one view port change rather than several from setting the properties individually.
You can remove the web view from the view altogether by setting the
false this will remove the web view from the current view, while still keeping
the current state and any ongoing operations continuing in the background.
You can then later present the view again by setting this to
The default is
true and presents the web view to the user.
For example to hide the web view: