2016-01-07 window delegate 包有nav
_window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
UIToolbarViewController *tool=[UIToolbarViewController new];
UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:tool];
_window.rootViewController=nav;
[_window makeKeyAndVisible];