tabBar隐藏后会出现白条,请问高手如何解决
1个回答
展开全部
UITabViewController两试图 控制view显示viewtabbarView隐藏tabbar修改viewframe
实验:
2013-04-15 17:15:07.248 HTWebScholl_1.0[9884:c07] (
"<UITransitionView: 0x8829990; frame = (0 0; 320 480); clipsToBounds = YES; autoresize = W+H; layer = >",
"<UITabBar: 0x8828b80; frame = (0 431; 320 49); hidden = YES; autoresize = W+TM; layer = >"
)
修改红色哪frame代码:
contentView = [self.tabBarController.view.subviews objectAtIndex:0];
contentView.frame=xxxxx;
相信写家都明白原理代码参考严谨自写吧帮助顶吧
实验:
2013-04-15 17:15:07.248 HTWebScholl_1.0[9884:c07] (
"<UITransitionView: 0x8829990; frame = (0 0; 320 480); clipsToBounds = YES; autoresize = W+H; layer = >",
"<UITabBar: 0x8828b80; frame = (0 431; 320 49); hidden = YES; autoresize = W+TM; layer = >"
)
修改红色哪frame代码:
contentView = [self.tabBarController.view.subviews objectAtIndex:0];
contentView.frame=xxxxx;
相信写家都明白原理代码参考严谨自写吧帮助顶吧
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询