摄像头链接,宠物笼界面

This commit is contained in:
祝发冬
2022-12-19 12:33:57 +08:00
parent e0a19c275c
commit a0e5554d26
5 changed files with 54 additions and 61 deletions
+4 -7
View File
@@ -749,14 +749,11 @@ if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPhone) {
NSString *BSSID = @"";
NSString *SSID = @"";
switch ([[Reachability reachabilityForInternetConnection] currentReachabilityStatus])
NetworkStatus status = [[Reachability reachabilityForInternetConnection] currentReachabilityStatus];
switch (status)
{
case NotReachable:// 没有网络
{
netconnType = @"no network";
}
break;
case NotReachable:// 没有网络,也获取一下
case ReachableViaWiFi:// Wifi
{
netconnType = @"Wifi";