UIWebView

UIWebView.playground is an starting point to experiment with UIWebView in an interactive playground:

UIView

import UIKit
import PlaygroundSupport

class WebViewController : UIViewController {

    override func loadView() {

        let webView = UIWebView()
        webView.loadHTMLString("<a href='http://www.example.com/'>Hello world</a>", baseURL: nil)

        self.view = webView
    }

}

PlaygroundPage.current.liveView = WebViewController()
Btn training bbbdf557d2 Next iOS training: 25. Februar - 01. März 2019, Stuttgart
Btn about 5378472193 About me · Contact