Initial(default) tab view

Let's say there are three tab views,; A,B, and C.

A is in the left side. B is in the middle. C is in the right side.
When I run my app, it shows A by default.
If I want to show B or C by default, what should I do?
NOTE: default means the initial tab view when I start my app.
You should set tabBarController.selectedIndex

For instance didFinishLaunchingWithOptions:
Code Block
func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {
if let tabBarController = self.window!.rootViewController as? UITabBarController {
tabBarController.selectedIndex = 1 // the B
}
return true
}

Initial(default) tab view
 
 
Q