Is it possible to have a small WebView? for instance 200 x 250
I have a Webkit View from the Library
In the ViewController:
import Cocoa
import WebKit
class ViewController: NSViewController {
@IBOutlet weak var webView1: WKWebView!
override func viewDidLoad() {
super.viewDidLoad()
let url = URL(string: "https://www.apple.com")
let request = URLRequest(url:url!)
webView1.load(request)
}
I can see the content of the web site but it is cut. I do not need a full web browser only an image representation of the site.