你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
搜索问题、话题或人...
输入关键字进行搜索
搜索:
问题
精选文章
开源项目
视频教程
活动
· · ·
帮助
登录
注册
环信_iOS
iOS聊天界面底部黑色边框的问题
没有找到相关结果
已邀请:
与内容相关的链接
提交
1 个回复
donghai
在聊天页面中加入如下代码:(隐藏tabbar,并且将bounds设置为0)
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.tabBarController.tabBar.hidden = YES;
self.tabBarController.tabBar.bounds = CGRectMake(0, 0, 0, 0);
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
self.tabBarController.tabBar.hidden = NO;
self.tabBarController.tabBar.bounds = CGRectMake(0, self.view.frame.origin.y - 64, self.view.frame.size.width, 44);
要回复问题请先
登录
或
注册
发起人
donghai
问题状态
最新活动:
2016-03-01 18:54
浏览:
6143
关注:
2
人
1 个回复
donghai
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
self.tabBarController.tabBar.hidden = YES;
self.tabBarController.tabBar.bounds = CGRectMake(0, 0, 0, 0);
- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
self.tabBarController.tabBar.hidden = NO;
self.tabBarController.tabBar.bounds = CGRectMake(0, self.view.frame.origin.y - 64, self.view.frame.size.width, 44);