views:

374

answers:

3

In the 3.0 version of the iPod application (and maybe in previous versions too) when the iPod application is launched after a sync the UITabBarController appears with no tab selected...

iPhone iPod loading screen

Is there any way to accomplish the same behaviour? or is this just the Default.png displayed by the iPod app at startup?

A: 

I'm not sure it's the default.png, when I launch mine the loading screen appears to be all black - and you wouldn't expect a default.png to be able to have the tab bar elements when you are allowed to re-order them as you are in the iPod app.

Perhaps if you set the UITabBarController selectedVC to nil...

Kendall Helmstetter Gelner
I tried to set the selectedViewController to nil at applicationDidFinishedLaunching but when the view appeared the first view controller was automatically selected
Panagiotis Korros
A: 

That doesn't look/feel like it is done with Default.png. Looking at the docs online (under selectedViewController), you can select a view controller that isn't shown in the tab bar but still in the viewControllers array, and may be this is how it's done in the iPod/music app. So essentially make a view controller for a tab that isn't selectable from the tab bar by the user, and select that view controller programatically.

Simon
If the selectedViewController is set to a view controller tha is not shown in the tab bar the the 'More' tab bar item is selected.
Panagiotis Korros
+1  A: 

did you get the solution of this? I'm still finding, too.

Any idea?

eskim2rock
unfortunately no solution yet.
Panagiotis Korros