简体   繁体   中英

iPad UISPlitViewController question

It is mentioned in the Apple's documentation that if we use UISPlitViewController in our app, then that should be the root view controller.

In our iPone app we are showing splash screen for some seconds till the loading of the app finishes. Once it is loaded the home screen needs to be displayed in a SplitViewController. If we use SplitViewController as the root view. How will we show the splash screen which is displayed in a single view where as SplitVieController displays two ViewControllers. Please explain me the how this can be done.

在应用程序委托的-applicationDidFinishLaunching:方法中,将初始屏幕添加为主UIWindow的子视图。

OS 3.2 is still under beta NDA. You should ask on apple's developer forums.

Apple's HIG for iPhone OS has this to say about splash screens

Display a launch image that closely resembles the first screen of the application. This decreases the perceived launch time of your application. For more information, see “Launch Images.” Avoid displaying an About window, a splash screen, or providing any other type of startup experience that prevents people from using your application immediately.

Yes I know Apple has approved apps with splash screens but that doesn't mean you should too. Perhaps show your main screen with blank data and put a slight transparent overlay and a progress par to indicate loading (if you have intensive loading).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM