您的位置:首页 > 其它

改变tabbar的高度做法

2015-08-13 11:30 429 查看
UITabBarController *tabBarController =[[UITabBarController alloc] init];
CGRect frame = self.window.bounds;
tabBarController.tabBar.frame = CGRectMake(0, CGRectGetHeight(frame) - 98, CGRectGetWidth(frame), CGRectGetHeight(frame));
UIView *transitionView = [[tabBarController.view subviews] objectAtIndex:0];
frame.size.height = CGRectGetHeight(frame) - 98;
transitionView.frame = frame;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: