From b4e1288a9b63eb820e9c9489c56aac4bf6b31067 Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期三, 18 十二月 2024 14:34:16 +0800
Subject: [PATCH] feature 图片资源更新
---
EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
index 101a4d0..9ee20c1 100644
--- a/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
+++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZWifiInfoViewController.m
@@ -11,6 +11,7 @@
#import "DDKit.h"
#import "EZWifiConfigViewController.h"
#import "EZAPWiFiConfigViewController.h"
+#import "GlobalKit.h"
#define WIFI_PREFROOT_URL @"prefs:root=WIFI"
#define WIFI_IOS10_WIFI_URL @"App-Prefs:root=WIFI"
@@ -49,6 +50,15 @@
[self.nameTextField dd_addCornerRadius:4.0f lineColor:[UIColor lightGrayColor]];
[self.passwordTextField dd_addCornerRadius:4.0f lineColor:[UIColor lightGrayColor]];
[self.nextButton dd_addCornerRadius:19.0 lineColor:[UIColor dd_hexStringToColor:@"0x1b9ee2"]];
+
+ self.tipsLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_tips");
+ self.tipsLabel.adjustsFontSizeToFitWidth=YES;
+
+ [self.nextButton setTitle:HDLEZLocallizedString(@"wifi_config_step_2_next_step") forState:UIControlStateNormal];
+
+ self.nameLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_net");
+ self.passwordLabel.text=HDLEZLocallizedString(@"wifi_config_step_2_password");
+
}
- (void) viewWillAppear:(BOOL)animated
@@ -94,6 +104,7 @@
for (NSString *ifnam in interfaces)
{
NSDictionary *info = CFBridgingRelease(CNCopyCurrentNetworkInfo((__bridge CFStringRef)ifnam));
+ HDLEZLog(@"info锛�%@",info);
self.nameTextField.text = info[@"SSID"];
break;
}
@@ -230,10 +241,14 @@
- (IBAction)nextAction:(id)sender
{
- //鐑偣閰嶇綉
- [self performSegueWithIdentifier:@"go2APWifiConfig" sender:nil];
+ if ([GlobalKit shareKit].deviceType==HDLEZDeviceType_Door) {//涓洪棬閿�
+ //鐑偣閰嶇綉
+ [self performSegueWithIdentifier:@"go2APWifiConfig" sender:nil];
+ }else{
+ [self showModeSelect];
+ }
-// [self showModeSelect];
+
}
@end
--
Gitblit v1.8.0