AKTabController的使用
框架的地址连接:传送门
_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];