iOS13,获取WiFi名称需定位;暗黑模式禁用

This commit is contained in:
wbzhan
2019-10-15 08:45:11 +08:00
parent d72f71f4df
commit 382d44ae13
4 changed files with 20 additions and 23 deletions
+2 -9
View File
@@ -253,7 +253,6 @@ Assign BOOL isInitHostoryView;
UIButton *back = [UIButton buttonWithType:UIButtonTypeCustom];
back.frame = CGRectMake(0,0,48,44);
[back setImage:[UIImage imageNamed:@"back_btn"] forState:UIControlStateNormal];
// [_bakbutton setBackgroundImage:[UIImage imageNamed:@"back_btn"] forState:UIControlStateNormal];
[back addTarget: self action: @selector(clickBack) forControlEvents: UIControlEventTouchUpInside];
back.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
@@ -419,15 +418,12 @@ Assign BOOL isInitHostoryView;
}
}
#pragma mark----socket返回----
-(void)ifishDeviceLogInFail{
// self.mainTableView.userInteractionEnabled=NO;
}
//从socket获取的回调方法
-(void)socketDidGetBackmsgData:(NSData *)data onsoket:(AsyncSocket *)sock{
self.mainTableView.userInteractionEnabled=YES;
NSLog(@"TwoControlView收到服务器的回执--->%@",data);
@@ -480,7 +476,7 @@ Assign BOOL isInitHostoryView;
//设置预警温度区间
IfishHotBarVo*vo1=self.datas[1];
if (!IsEmptyStr(self.vo.upTeamp)) {
vo1.subTitle = [NSString stringWithFormat:@"%.1f°c%.1f°c",[self.vo.downTeamp floatValue],[self.vo.upTeamp floatValue]];
vo1.subTitle = [NSString stringWithFormat:@"%.1f°c~%.1f°c",[self.vo.downTeamp floatValue],[self.vo.upTeamp floatValue]];
}
self.vo.wornCode=[info substringWithRange:NSMakeRange(44, 2)];
// self.vo.wornCode=[NSString stringWithFormat:@"%llu",[dataContorl hexToTen:self.vo.wornCode]];
@@ -629,9 +625,6 @@ Assign BOOL isInitHostoryView;
header.sendAdr=self.devicemodel.macAddress;
header.reciceAdr=self.devicemodel.macAddress;
header.lenth=@"13";
// NSString*str=[NSString stringWithFormat:@"%@0",num];
NSString*crc=@"0000";
num=[dataContorl ToHex:num.longLongValue*10];
if (num.length<4) {