CreationKit Documentation

Class Swift​UIHosted​View​Factory

public class SwiftUIHostedViewFactory  

Methods

as​View(on:​type:​tag:​hide​Navigation:​)

public static func asView<T: View, M: Any>(
    on parent: UIViewController,
    type: T.Type,
    tag: M? = nil,
    hideNavigation: Bool = true
  ) -> UIView?