Usually when a tab based app is launched, automatically control goes to the 1st tab. Is there any way such that the 1st tab's view will be shown but without the 1st tab being selected?
views:
21answers:
1
+1
A:
in
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
before adding tabBarController to your window write
tabBarController.selectedIndex = 2;
[window addSubview:tabBarController.view];
Here it will show 3rd tab's view as application starts... (0 1 2)
mihirpmehta
2010-06-17 10:46:05