SplashScreen for iOS in SwiftUI Tutorial 2022 (Xcode)

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024
  • In today’s lesson I will be showing you how you can create a SplashScreen in SwiftUI using Xcode. It’s very fast, easy, and intuitive.
    Source code: github.com/fed...

Комментарии • 43

  • @sasanhabibian6522
    @sasanhabibian6522 Год назад +9

    I loved the moment you joked about creating VStacks!

  • @SeriousCat5000
    @SeriousCat5000 2 года назад +10

    This is a very workable solution to get around the seemingly broken plist settings for launch screen image from the plist file. (I tried out splash screen methods using plist only to discover iOS stretches the image to fullscreen 50% of the time on device installs.). This still gives you the welcome effect but there's still the problem of the multi-second blank screen when opening apps for the very first time. First impressions are crucial.

  • @kyraIsMe
    @kyraIsMe 2 года назад +2

    Thanks for posting this. I attempted using a launch screen file but couldn't differentiate between the macOS and iOS target so I couldn't run the macOS app. This was the perfect solution. Set my plist background to my Splash screen view background color and it melds into each other. :)

  • @JayGallie
    @JayGallie 3 месяца назад

    Thanks for your “right to the point” video! Thanks for helping we “new coders” to get rich 😁🌹

  • @ins3rt915
    @ins3rt915 7 месяцев назад

    That VStack inception joke got me good

  • @sipanhazim4128
    @sipanhazim4128 2 года назад +14

    wrong approach, white screen at beginning should not be appear. you should add launch screen to info list also.

    • @karansarin1986
      @karansarin1986 4 месяца назад +1

      true, this is not a real splash screen!

  • @weich0521
    @weich0521 Год назад

    Thank you so much for this video.
    I could create the splash screen in easy way

  • @edutyl9372
    @edutyl9372 2 года назад

    Underrated IQ. Very awesome workaround

  • @bryceellis112
    @bryceellis112 Год назад

    Wow amazing tutorial. I will implement this into my app! And I will like, subscribe and watch more of your tutorials

  • @orange-kl7ne
    @orange-kl7ne 7 месяцев назад

    very easy to understand! thanks

  • @rickevertsz
    @rickevertsz Год назад

    Very clear presentation. Works a treat! Thanks.

  • @shoconakaki4396
    @shoconakaki4396 2 года назад

    Thank you for this tutorial!! Now I can have the view I wanted for my project x)

  • @JustThink2000
    @JustThink2000 2 года назад +1

    Thanks... worked perfect in my app.

  • @kavitasoni4947
    @kavitasoni4947 2 года назад

    Amazingly very easy to understand video.. Please do make more videos on e-commerce development app…

  • @chaordo
    @chaordo Год назад

    Great tutorial, much appreciated!

  • @AdailtonSilvaSP
    @AdailtonSilvaSP 10 месяцев назад

    tks for the video! it was very helpful!

  • @shaduhhh
    @shaduhhh 5 месяцев назад

    Amazing, thank you

  • @relax_music668
    @relax_music668 Год назад

    Thanks very much.Just right to use it

  • @EricTMCode
    @EricTMCode Год назад

    Fantastic work 🙏

  • @sjwilliams1951
    @sjwilliams1951 Год назад +1

    Very good video. However, after the latestXcode update I get the following error [SceneConfiguration] Info.plist contained no UIScene configuration dictionary (looking for configuration named "(no name)"). Why is this happening?

  • @bronwynpotgieter7405
    @bronwynpotgieter7405 Год назад

    Great tutorial! I wanted to use my gif as my splash screen, but It won't scale correctly. How can I ensure that the gif is scaled to fill the page?

  • @degarmo187
    @degarmo187 2 года назад

    fantastic tutorial. I appreciate it. New to the channel. Look forward to more videos.

  • @bemyheartfill
    @bemyheartfill Год назад

    thanks a lot man appreciate it

  • @alexkarlsson2560
    @alexkarlsson2560 Год назад

    hahah the v-stack joke just got me im focusing right now but that is exactly how I played it in my mind hahh

  • @thaisa270
    @thaisa270 2 года назад +1

    Thanks for the video, it works smoothly but when I need to add NavigationView the animation changes, I'm trying to figure that one out.

    • @JustThink2000
      @JustThink2000 2 года назад

      did you get it figured out?

    • @transhackr1225
      @transhackr1225 Год назад

      My navigation view buttons disappear? any solutions?

  • @conz8000
    @conz8000 2 года назад

    Thanks for the vids.
    I'm getting an error at ContentView() above the VStacks.The error says "Cannot find 'ContentView' in scope". I'm trying to make a Splash Screen for a AR app and catching hell. Thanx

  • @andrewbrown6730
    @andrewbrown6730 Год назад

    What is the outside VStack for? It doesn’t seem to do anything - can be removed and SplashScreen works just the same

  • @somebody5106
    @somebody5106 2 года назад

    Thanks for agreat demo video, however, we are Curious if you have an update for SwiftUI 3 and Xcode 13.3.1 for IOS 15. The current code does not display the SplashScreen even after cleaning and rebuilding the project. No errors are displayed in the debug editor, Thoughts ???

    • @Indently
      @Indently  2 года назад

      I would look through the code again, everything I've included is just vanilla swiftui so there shouldn't be anything that breaks the code in an "if else" statement for showing a view. I'd check the code again if I were you 👍

    • @somebody5106
      @somebody5106 2 года назад

      @@Indently Thx I'll check

  • @igormorzan63
    @igormorzan63 Год назад

    withAnimation doesn't give the same transition as in the video. Everything else is the same, do you know why this might be?

  • @nestorpiedra2308
    @nestorpiedra2308 2 года назад

    Thanks 😀

  • @911gogogo
    @911gogogo Год назад

    Is it okay to use SplashScreen instead of LaunchScreen?

  • @mr_dunkel
    @mr_dunkel Год назад +1

    does this count as Launch screen ?

  • @CaganDURGUN
    @CaganDURGUN Год назад

    VStack..VStack.. VS...hahaha

  • @SirajRamadan
    @SirajRamadan 2 года назад

    Me coding on playgrounds :(🙁

    • @Indently
      @Indently  2 года назад

      Playgrounds is fun!

  • @dallasrieck7753
    @dallasrieck7753 2 года назад

    "lesson", how about: share ;0)

    • @Indently
      @Indently  2 года назад

      I have no idea what you're going on about mate

  • @andrewbrown6730
    @andrewbrown6730 Год назад

    The DispatchQueue.main.asyncAfter waits 2 seconds then executes “self.isActive = true” but what causes the execution to return to the if statement at the start of the View?