Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS Launch Screen for app with different themes?

I would like to create a launch screen(s) for my app which gives user an option to choose a theme (black or white).

What is the best approach to create a launch screen when I don't know what theme will be used at start-up?

Any advice will be highly appreciated.

Thanks!

like image 478
Heky Avatar asked Nov 04 '25 16:11

Heky


1 Answers

You can not program LaunchScreen.storyboard the alternative way is create a ThemeViewController for example and setup your app's appearance there,then check if user selected a theme skip that view controller to your app main view controller.You can detect if user select a theme using NSUserdefualts.

My suggestion is create a default theme for your app then if users would like to change it they will go to Settings and change the theme.

like image 180
iOS.Lover Avatar answered Nov 07 '25 09:11

iOS.Lover



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!