Lanuch Screen Background & Image added in swiftui

First of all go to the project file-> Info.plist->launchScreen, then expand it. You will see same as below with some key..

when you are expand the launch scree arrow-

  1. Background color
  2. Image Name
  3. Image respects safe area insets.
  4. Show navigation bar
  5. Show tab bar
  6. Show toolbar

Give the same name as in your asset folder image name. For Background color insert color in asset folder and give the color name as a key in Background color identifier.

N.B: if your image don’t show in launch screen then restart your simulator. Hopefully it will fix.

185 thoughts on “Lanuch Screen Background & Image added in swiftui

Leave a Reply