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...
I loved the moment you joked about creating VStacks!
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.
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. :)
Thanks for your “right to the point” video! Thanks for helping we “new coders” to get rich 😁🌹
That VStack inception joke got me good
wrong approach, white screen at beginning should not be appear. you should add launch screen to info list also.
true, this is not a real splash screen!
Thank you so much for this video.
I could create the splash screen in easy way
Underrated IQ. Very awesome workaround
Wow amazing tutorial. I will implement this into my app! And I will like, subscribe and watch more of your tutorials
very easy to understand! thanks
Very clear presentation. Works a treat! Thanks.
Thank you for this tutorial!! Now I can have the view I wanted for my project x)
Thanks... worked perfect in my app.
Amazingly very easy to understand video.. Please do make more videos on e-commerce development app…
Great tutorial, much appreciated!
tks for the video! it was very helpful!
Amazing, thank you
Thanks very much.Just right to use it
Fantastic work 🙏
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?
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?
fantastic tutorial. I appreciate it. New to the channel. Look forward to more videos.
thanks a lot man appreciate it
hahah the v-stack joke just got me im focusing right now but that is exactly how I played it in my mind hahh
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.
did you get it figured out?
My navigation view buttons disappear? any solutions?
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
What is the outside VStack for? It doesn’t seem to do anything - can be removed and SplashScreen works just the same
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 ???
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 👍
@@Indently Thx I'll check
withAnimation doesn't give the same transition as in the video. Everything else is the same, do you know why this might be?
Thanks 😀
Is it okay to use SplashScreen instead of LaunchScreen?
does this count as Launch screen ?
VStack..VStack.. VS...hahaha
Me coding on playgrounds :(🙁
Playgrounds is fun!
"lesson", how about: share ;0)
I have no idea what you're going on about mate
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?