WebView struct not displaying correctly

Hello,

I am new to XCode and have just written a basic WebView code below:

The app builds and runs, but only an empty screen is displayed.

What should I fix in order to make the WebView display the web page correctly, please?

Thank you.

Rather than adding your code as a screenshot, use the formatting tools, to format your code as a Code Block.
Then we will be able to read it, and see if we can help you.

WebView struct not displaying correctly
 
 
Q