导入第三方SCNavTabBar
倒入头文件
#import "SCNavTabBarController.h"
oneNavViewController *quanBu = [oneNavViewController new];
quanBu.title = @"";
quanBu.view.backgroundColor = [UIColor whiteColor];
twoNavViewController *fanChang = [twoNavViewController new];
fanChang.title = @"";
fanChang.view.backgroundColor = [UIColor blackColor];
threeNavViewController *meishi = [threeNavViewController new];
meishi .title = @"";
meishi.view.backgroundColor = [UIColor grayColor];
fourNavViewController *tiyu = [fourNavViewController new];
tiyu .title = @"";
tiyu.view.backgroundColor = [UIColor greenColor];
fiveNavViewController *wenhua = [fiveNavViewController new];
wenhua .title = @"";
wenhua.view.backgroundColor = [UIColor yellowColor];
sixNavViewController *shenghuo = [sixNavViewController new];
shenghuo .title = @"";
shenghuo.view.backgroundColor = [UIColor redColor];
SCNavTabBarController *scanv = [SCNavTabBarController new];
scanv.subViewControllers = @[quanBu,fanChang,meishi,tiyu,wenhua,shenghuo];
[scanv addParentController:self];