AKTabController的使用

作者: shaneZhang 分类: ios技术 发布时间: 2014-05-01 20:25

框架的地址连接:传送门

    _tabBarController = [[AKTabBarController alloc] initWithTabBarHeight:(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) ? 70 : 50];
    [_tabBarController setMinimumHeightToDisplayTitle:40.0];
    
    PublicMessageViewController *publicViewController = [[PublicMessageViewController alloc]init];
    PrivateMessageViewController *privateViewController = [[PrivateMessageViewController alloc]init];
    AboutMeViewController *aboutViewController = [[AboutMeViewController alloc]init];
    [_tabBarController setViewControllers:[NSMutableArray arrayWithObjects:publicViewController,privateViewController,aboutViewController,nil]];
    [self.window setRootViewController:_tabBarController];
    [self.window makeKeyAndVisible];

本页面支持繁体中文友好显示:AKTabController的使用

如果觉得我的文章对您有用,请随意打赏。如果有其他问题请联系博主QQ(909491009)或者下方留言!

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注