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];

posted @ 2016-01-07 14:25  zhen_zhen  阅读(108)  评论(0编辑  收藏  举报