-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preliminary SwiftUI support #8
base: master
Are you sure you want to change the base?
Conversation
For now it will simply add a `UIHostingController` `view` to the `contentView`. I commented out calls needed for proper view controller containment because it doesn’t play well with my `UINavigationController`.
099b6e2
to
d117d53
Compare
Added code that properly adds/removes the child view controller calling the corresponding methods on both parent and child controllers. It is cleaner now but it can pose problems with the parent. For instance when using Moreover, it would be cleaner to make |
I've noticed that taps in the embed SwiftUI view are not recognized. |
d117d53
to
099b6e2
Compare
…n .portraitUpsideDown
…n .portraitUpsideDown
…ean .isRotateAllowed, .face
…ean .isRotateAllowed, .face
For now it will simply add a
UIHostingController
view
to thecontentView
.I commented out calls needed for proper view controller containment because it doesn’t play well with my
UINavigationController
.