You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just thought I'd share an idea that if you used UIViewControllerRepresentable instead of UIViewRepresentable you could handle disappearing without having to swizzle and you wouldn't need to search for nearest VC either. Similar to MyViewController in this code I posted to Stackoverflow, before I found your library (which I found via this blog btw)
I think Apple call theirs PresentationHostingController.
The text was updated successfully, but these errors were encountered:
Just thought I'd share an idea that if you used
UIViewControllerRepresentable
instead ofUIViewRepresentable
you could handle disappearing without having to swizzle and you wouldn't need to search for nearest VC either. Similar toMyViewController
in this code I posted to Stackoverflow, before I found your library (which I found via this blog btw)I think Apple call theirs
PresentationHostingController
.The text was updated successfully, but these errors were encountered: