Posts

Post not yet marked as solved
1 Replies
1.6k Views
Hi. I want to make an application on IOS.Opened the application - loaded a certain siteThe code is compiled, but the output is a white screen.Is there a problem?// // ViewController.swift import UIKit class ViewController: UIViewController { @IBOutlet weak var WebView: UIWebView! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view. let url = URL(string: "http://www.apple.com") WebView.loadRequest(URLRequest(url: url!)) } override func didReceiveMemoryWarning() { super.didReceiveMemoryWarning() } }
Posted
by soroki4.
Last updated
.