UIViewControllerRepresentable
Instance to create and manage UIViewController object in our SwiftUI interface.
Create UIViewControllerRepresentable
- func makeUIViewController(context: Context) -> UIViewController
Update UIViewControllerRepresentable
- func updateUIViewController(_ uiViewController: UIViewController, context: Context){
Specifying Size
- func sizeThatFits(_: ProposedViewSize, uiViewController: Self.UIViewControllerType, context: Self.Context) -> CGSize?
To provide a custom Co-ordinator Object
- func makeCoordinator() -> Self.Coordinator
No comments:
Post a Comment