_window=[[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
UIToolbarViewController *tool=[UIToolbarViewController new];
UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:tool];
_window.rootViewController=nav;
[_window makeKeyAndVisible];