I built an iPhone app whose background image fit nicely for iPhone screens, but when I run at iPad, this image stretch horizontally (as the iPad screen is more squared than the iPhone).
Is there a way for me to choose which background image is going to be loaded?
I know that I can use UIDevice.current.userInterfaceIdiom == .phone and
UIDevice.current.userInterfaceIdiom == .pad to check which device I'm in but how can I choose the correct image if Launch Screen doesn't accept code attached to it?


