fixed:设备连接页面适配

This commit is contained in:
一只会编程的狮子
2019-03-15 21:01:42 +08:00
parent aef80f5505
commit 5f488b14b8
8 changed files with 11 additions and 17 deletions
@@ -96,13 +96,12 @@
//self.navigationBar.alpha=0;
self.view.backgroundColor=COLOR_MIAN;
[self creatTableView];
return;
// [self initUI];
// [self fishTankData];
//
// [self creatMyindicaterView];
// [self notBindDeviceState];
// [self creatRefreshView];
[self initUI];
[self fishTankData];
[self creatMyindicaterView];
[self notBindDeviceState];
[self creatRefreshView];
@@ -114,7 +114,7 @@
for (int i = 0; i < 3; i ++) {
self.button = [[UIButton alloc] init] ;
self.button.frame = CGRectMake(btnControlPlace +i*(btnControlPlace + btnControlWith),kScreenSize.height - 3*btnControlPlace - 2 *btnControlWith -10 - 10 , btnControlWith, btnControlWith +11);
self.button.frame = CGRectMake(btnControlPlace +i*(btnControlPlace + btnControlWith),kScreenSize.height - 3*btnControlPlace - 2 *btnControlWith -(is_iPhone_X?0:20) , btnControlWith, btnControlWith +11);
[self.button setImage:[UIImage imageNamed:nameArr[i]] forState:UIControlStateNormal];
//self.button.backgroundColor = [UIColor redColor];