How to implement launch screen?
There are multiple ways in implement launch screen.
-
Using a storyboard (default)
-
Using a plist configuration in which you can set (only available Xcode 12+)
Using Storyboard )
Use default launchScreen.storyboard file.
Don't forget to set in project settings.
Using Plist)
Set launch screen in info.plist file.
Custom launch screen in info.plist
Launch screen update issue)
If you ever implement launch screen, you would run into situations in which your launch screen doesn’t update.
IOS caches your loading views as an image to improve performance.
So if you want to see an updated screen immediately, you might clear the cache.
You man try
-
Clean Your build folder using product -> clean build folder
-
Remove app from the simulator and reinstall
-
reset the simulator
It doesn’t helpful at all :(
This is time-consuming and doesn’t make you really productive.
Happy coding :)
'개발 > swift' 카테고리의 다른 글
Swift URLComponents (0) | 2020.11.12 |
---|---|
Swift @available and #available (0) | 2020.11.10 |
Swift how to fix autolayout issue? (0) | 2020.11.05 |
Swift UICollectionView performBatch (0) | 2020.11.04 |
Swift mutating function (0) | 2020.11.01 |