Project: titanium
Issue TIMOB-19694: CLI: Create template to configure launchScreen.storyboard
Currently, we are using image files, copied into an assets catalog named LaunchImage for the launch screens. There is a newer method supported in Xcode 6 / iOS8 and greater, whereby you can have a LaunchScreen.storyboard file, in which you can configure the launch screen, and it's adaptable to all device types. We need this file to exist in order for slideView / splitView to work on iOS9. Similar to what we did with watchos2, we need work flow to be as such: 1. CLI generate an Xcode project template that contains a sample LaunchImage file. (ti create ... --template launchScreen) 2. Ti developer does what he wants in that Xcode project, very likely with an assets catalog in it as well. 3. when calling ti build, CLI copies this storyboard file and well as any associated image sets in the assets catalog into the build project. 4. info.plist will also need this {code}	UILaunchStoryboardName	LaunchScreen {code} so we either include automatically or have the Ti developer include it in tiapp.xml Note: The existence of LaunchScreen.storyboard will make Xcode ignore the original LaunchImage asset catalog. But we still cannot delete this because it's required for this method in TiRootViewController.m {code} - (UIImage*)defaultImageForOrientation:(UIDeviceOrientation) orientation resultingOrientation:(UIDeviceOrientation *)imageOrientation idiom:(UIUserInterfaceIdiom*) imageIdiom {code} as well as devices < iOS8. Useful references: [Video of how we can integrate LaunchScreen.storyboard|https://www.dropbox.com/s/hholmeay9mmlpcg/Ti.SlideOver.mov?dl=0] [Xamarin | https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/launch-screens/]
Story points: 5