Matched Geometry Effects between fullScreenCover - Xcode 14 - SwiftUI Tutorials

Поділитися
Вставка
  • Опубліковано 11 жов 2024

КОМЕНТАРІ • 27

  • @Kavsoft
    @Kavsoft  7 місяців тому

    Updated Version:
    ua-cam.com/video/d0y_f9kCSDk/v-deo.html

  • @Brejuro
    @Brejuro 8 місяців тому +2

    @Kavsoft Does this work anymore? Animation seemed to have stopped working - xcode 15.2

  • @victortejeda4782
    @victortejeda4782 Рік тому

    Excelent video, beautiful for video.

  • @andrejkling3886
    @andrejkling3886 Рік тому +1

    Awesome 👏 😊

  • @OBLIVIOUSKARI
    @OBLIVIOUSKARI Рік тому +1

    Thanks for the amazing video! What’s the difference between this and a normal matched geometry effect overlay?

    • @Kavsoft
      @Kavsoft  Рік тому +1

      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.

    • @OBLIVIOUSKARI
      @OBLIVIOUSKARI Рік тому

      Thank you! I do hope they make a feature like this native soon

  • @DanneGuitarHD
    @DanneGuitarHD Рік тому

    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! 🎉

  • @SirBezaleelAshefor
    @SirBezaleelAshefor Рік тому

    Solid work!

  • @sarathsha7543
    @sarathsha7543 Рік тому

    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?

  • @SilviuPreoteasa
    @SilviuPreoteasa Рік тому

    will this work if I am trying to present a view from a bottom sheet?

    • @Kavsoft
      @Kavsoft  Рік тому

      Check this video out
      ua-cam.com/video/zHtB8mHPLDU/v-deo.html

  • @victorriurean
    @victorriurean Рік тому

    nice

  • @zhaokaiyi1990
    @zhaokaiyi1990 Рік тому

    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.

    • @Kavsoft
      @Kavsoft  Рік тому

      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.

    • @zhaokaiyi1990
      @zhaokaiyi1990 Рік тому

      @@Kavsoft Thank you so much!

  • @quentinfasquel5728
    @quentinfasquel5728 7 місяців тому

    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.

    • @Kavsoft
      @Kavsoft  7 місяців тому

      Check this out,
      ua-cam.com/video/d0y_f9kCSDk/v-deo.html

    • @quentinfasquel5728
      @quentinfasquel5728 7 місяців тому

      @@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

  • @zachholte1353
    @zachholte1353 Рік тому

    is this for ios 14 too

    • @Kavsoft
      @Kavsoft  Рік тому +1

      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.

    • @lillllliiill-r3e
      @lillllliiill-r3e Рік тому

      presentationMode env variable wouldnt be enough?

  • @MirliyawanIbrahim
    @MirliyawanIbrahim Рік тому

    does it work on ios 14?

    • @Kavsoft
      @Kavsoft  Рік тому

      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.