Suryabhan Yadav
webView.frame.size.height // this works in swift UI but in kotlin frame is of type CValue<CGRect>. And size is present in CGRect.
Andrei Salavei
val rect = this.bounds.useContents { CGRectMake(0.0, 0.0, this.size.width / 2, this.size.height / 2) } webView.setFrame(rect)
A modern programming language that makes developers happier.