作者: 池閩 | 来源:发表于2018-05-04 08:54 被阅读0次

    recommendViewController *recommend=[recommendViewController new];

        UINavigationController *navyi=[[UINavigationController alloc] initWithRootViewController:  recommend];

        UITabBarItem *Itemyi=[[UITabBarItem alloc] initWithTitle:@"推荐" image:nil tag:1001];

        navyi.tabBarItem=Itemyi;

        navyi.tabBarItem.badgeValue=@"99+";

        citywideViewController *er=[citywideViewController new];

        UINavigationController *naver=[[UINavigationController alloc] initWithRootViewController:er];

        UITabBarItem *Itemer=[[UITabBarItem alloc] initWithTitle:@"同城" image:nil tag:1002];

        naver.tabBarItem=Itemer;

        messageViewController *san=[messageViewController new];

        UINavigationController *navsan=[[UINavigationController alloc] initWithRootViewController:san];

        UITabBarItem *Itemsan=[[UITabBarItem alloc] initWithTitle:@"消息" image:nil tag:1003];

        navsan.tabBarItem=Itemsan;

        myViewController *MY=[myViewController new];

        UINavigationController *Mynav=[[UINavigationController alloc] initWithRootViewController:MY];

        UITabBarItem *myItem=[[UITabBarItem alloc] initWithTitle:@"我的" image:[UIImage imageNamed:@"menu_mine_normal.png"] tag:1003];

        myItem.selectedImage = [UIImage imageNamed:@"menu_mine_foc.png"];

        Mynav.tabBarItem=myItem;

    相关文章

      网友评论

          本文标题:

          本文链接:https://www.haomeiwen.com/subject/nwgowxtx.html