热点连接部分bug修复

This commit is contained in:
wbzhan
2019-10-09 18:09:02 +08:00
parent bfdf208899
commit 7157c3b0ed
13 changed files with 110 additions and 62 deletions
@@ -108,7 +108,11 @@ extern BOOL isfromCameraView;
_wifiTextFiled.delegate=self;
_wifiTextFiled.layer.masksToBounds=YES;
_wifiTextFiled.layer.cornerRadius=5;
[_wifiTextFiled setValue:[UIColor lightGrayColor] forKeyPath:@"_placeholderLabel.textColor"];
if (@available(iOS 13.0, *)){//iOS13之后,设置颜色的方便变更
}else{
[_wifiTextFiled setValue:[UIColor lightGrayColor] forKeyPath:@"_placeholderLabel.textColor"];
}
UIView*phoneView=[[UIView alloc]initWithFrame:CGRectMake(0,0, 9, 10)];
self.wifiTextFiled.leftView=phoneView;
self.wifiTextFiled.leftViewMode=UITextFieldViewModeAlways;