HostingView
open class HostingView<Content> : UIView where Content : View
SwiftUI视图包装类
-
Undocumented
Declaration
Swift
public var rootView: Content { get set }
-
Undocumented
Declaration
Swift
public required init(rootView: Content)
-
Undocumented
Declaration
Swift
public required init?(coder: NSCoder)
-
Undocumented
Declaration
Swift
override open func willMove(toSuperview newSuperview: UIView?)
-
Undocumented
Declaration
Swift
override open func didMoveToSuperview()
-
Undocumented
Declaration
Swift
open override var frame: CGRect { get set }
-
Undocumented
Declaration
Swift
open override var bounds: CGRect { get set }
-
Undocumented
Declaration
Swift
override open var intrinsicContentSize: CGSize { get }
-
Undocumented
Declaration
Swift
open override func sizeThatFits(_ size: CGSize) -> CGSize