I'm newbie of iOS developer, and I know that is very simple question but I really can't understand reason.
when I build SingleViewApplication
, Xcode auto generate LaunchScreen.storyboard
and Main.storyboard
,
but I can't find any code like [self.navigationController pushViewController:]
which may choose that what view controller enter stack as last one of top-level view,
I only find ViewController.{h,m}
as first and see no logic that change view from LaunchScreen.storyboard
to Main.storyboard
.
could anyone help? thanks..
Main.storyboard file and LaunchScreen is define in your project property. you can find it by click on project in xcode and then in below target you can find this two name you can choose your own by selecting dropdown given beside label.
and other redirecting to LaunchScreen to Main.storyboard you can refer info.plist file in your project and also AppDelegate.h and AppDelegate.m
Most probably the iOS first looks for LaunchScreen.storyboard file and shows it for some time and when it is done with it, it looks for Main.storyboard.
These names are hardwired in the plist as mentioned by Tejas in his answer and you can change these.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With