The ability to present a new view with the matched geometry effect of any subviews will be useful.Eg:In my personal app, I’ve split the main view into different subviews like header, subheader, footer, etc.And I wanted to present a new view with the matched geometry effect from the footer view.To do that, I need to send all the data from the main view to the footer view in order to present that overlay above the home view.But with the help of this code, I can right away present the new view from the footer view.
Very nice tutorial! But can you please help with voiceOver not finding any elements to focus on when using .overCurrentContext? I really want this to work 😊 Cheers! 🎉
It's really good work. For instance if you have to show fullScreenCover with shadow background(contains progress view) in tabbar, while calling the Rest Api. When ever I click any tabbar item I've to show fullScreenCover with process, once get response I've to hide it.I now in uikit we will use UIApplication.shared.keywindow.addsubview(myView). While showing fullScreenCover the tabbar is not covered for me. How can we hide including tabbar while showing fullScreenCover?
Great work! It's the exact thing I am looking for. However, I noticed the DetailView will initialize right away with the parent view when parent view appear on the screen. Is there a way to make the detail view only init when we want it to present? Just like the original fullScreenCover.
Remove the entire "onAppear" segment. I don't believe it is necessary because we already created the host view in onChange{ } Now it won’t get initialised when the view appears.
@@Kavsoft i did check it out as well, thanks. But that still doesn’t answer the question ? I’m confused on how you got this to accomplish what it does. Which version of iOS allowed this. I would believe 15 but you were using .gradient which is iOS 16 minimum
Updated Version:
ua-cam.com/video/d0y_f9kCSDk/v-deo.html
@Kavsoft Does this work anymore? Animation seemed to have stopped working - xcode 15.2
Excelent video, beautiful for video.
Awesome 👏 😊
Thanks for the amazing video! What’s the difference between this and a normal matched geometry effect overlay?
The ability to present a new view with the matched geometry effect of any subviews will be useful.Eg:In my personal app, I’ve split the main view into different subviews like header, subheader, footer, etc.And I wanted to present a new view with the matched geometry effect from the footer view.To do that, I need to send all the data from the main view to the footer view in order to present that overlay above the home view.But with the help of this code, I can right away present the new view from the footer view.
Thank you! I do hope they make a feature like this native soon
Very nice tutorial! But can you please help with voiceOver not finding any elements to focus on when using .overCurrentContext? I really want this to work 😊
Cheers! 🎉
Solid work!
It's really good work. For instance if you have to show fullScreenCover with shadow background(contains progress view) in tabbar, while calling the Rest Api. When ever I click any tabbar item I've to show fullScreenCover with process, once get response I've to hide it.I now in uikit we will use UIApplication.shared.keywindow.addsubview(myView). While showing fullScreenCover the tabbar is not covered for me. How can we hide including tabbar while showing fullScreenCover?
will this work if I am trying to present a view from a bottom sheet?
Check this video out
ua-cam.com/video/zHtB8mHPLDU/v-deo.html
nice
Great work! It's the exact thing I am looking for. However, I noticed the DetailView will initialize right away with the parent view when parent view appear on the screen. Is there a way to make the detail view only init when we want it to present? Just like the original fullScreenCover.
Remove the entire "onAppear" segment.
I don't believe it is necessary because we already created the host view in onChange{ }
Now it won’t get initialised when the view appears.
@@Kavsoft Thank you so much!
Is there any way targeting iOS 15 or 16 to get it working with Xcode 15 ? I can't seem to get it to work.
Check this out,
ua-cam.com/video/d0y_f9kCSDk/v-deo.html
@@Kavsoft i did check it out as well, thanks. But that still doesn’t answer the question ? I’m confused on how you got this to accomplish what it does. Which version of iOS allowed this. I would believe 15 but you were using .gradient which is iOS 16 minimum
is this for ios 14 too
Since there is no @Environment(\.dismiss) available in iOS 14, it won't, but it will work for iOS 15 since it does have it.
presentationMode env variable wouldnt be enough?
does it work on ios 14?
Since there is no @Environment(\.dismiss) available in iOS 14, it won't, but it will work for iOS 15 since it does have it.