fixed:首页&消息页面&看看页面&服务等页面的适配
This commit is contained in:
@@ -675,7 +675,7 @@
|
||||
[self.tableView registerNib:[UINib nibWithNibName:@"TabBarDeviceShouYeCell" bundle:nil] forCellReuseIdentifier:@"TabBarDeviceShouYeCell"];
|
||||
[self.tableView registerNib:[UINib nibWithNibName:@"TabbarDeiceSecdCell" bundle:nil] forCellReuseIdentifier:@"TabbarDeiceSecdCell"];
|
||||
//CGFloat sapce=TabContentHeaght*0.011;//20/1776
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height - 44) style:UITableViewStyleGrouped];
|
||||
self.tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,0,self.view.frame.size.width,self.view.frame.size.height-TOP_HEIGHT) style:UITableViewStyleGrouped];
|
||||
|
||||
self.tableView.delegate = self;
|
||||
self.tableView.dataSource = self;
|
||||
@@ -730,7 +730,7 @@
|
||||
|
||||
-(void)viewWillAppear:(BOOL)animated{
|
||||
[super viewWillAppear:animated];
|
||||
self.navigationController.navigationBar.hidden = YES;
|
||||
self.navigationController.navigationBar.translucent = YES;
|
||||
//设置透明导航栏
|
||||
[self.navigationController
|
||||
.navigationBar setClearNav];
|
||||
@@ -1206,9 +1206,8 @@
|
||||
-(void)viewWillDisappear:(BOOL)animated{
|
||||
[super viewWillDisappear:animated];
|
||||
[self.view hideToastActivity];
|
||||
self.navigationController.navigationBar.hidden = NO;
|
||||
self.navigationController.navigationBar.translucent = NO;
|
||||
[self.navigationController.navigationBar cnReset];
|
||||
|
||||
}
|
||||
|
||||
#pragma mark 未绑定设备或添加设备 跳转
|
||||
|
||||
Reference in New Issue
Block a user