addSubView SwiftUI View to UIKit UIView in Swift : <p>I have tried to addSubView a SwiftUI View to UIView. <code>self.view.addSubview(contentView)</code></p>

<blockquote>
  <p>Error: Cannot convert value of type 'ContentView' to expected argument type
  'UIView'</p>
</blockquote>

<p>Kindly help me to implement this UI.</p>

<pre><code>import UIKit
import SwiftUI

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view.
        view.backgroundColor = UIColor.lightGray

        let contentView = ContentView()
        view.addSubview(contentView) // Error: Cannot convert value of type 'ContentView' to expected argument type 'UIView'
    }


}


struct ContentView: View {
    var body: some  View {
        Text("Hello world")
    }

}
</code></pre>
