fixed:设备连接页面适配
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user