I need to set a background color or background image in my iOS application's launch screen. I was wondering if there was a code similar to:
If you want to set background image for launch screen than there is two way:
image.axassetsand add new LaunchImage set in it.
LaunchScreen.xiband set image to it.
If you want to set background colour for launch image than add
LaunchScreen.xib and set
backgroundColor propertity of it.
Both way is easy but I preferred to go with image.axassets LunchImage set.
Note: If you use
image.axassets LaunchImage than do not forget to migrate this set with application.