From edc0f0a0439f9e5a11593e21a4779fa6dbcbe49d Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期五, 06 八月 2021 11:23:49 +0800
Subject: [PATCH] 2021-08-06 1.更新

---
 EZSDK/EZSDK/EZ/UIViewControllers/EZDeviceTableViewController.m |   21 +++++++++++++++++----
 1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZDeviceTableViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZDeviceTableViewController.m
index aba9ff6..6c7fc55 100644
--- a/EZSDK/EZSDK/EZ/UIViewControllers/EZDeviceTableViewController.m
+++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZDeviceTableViewController.m
@@ -20,7 +20,7 @@
 #import "EZAreaInfo.h"
 #import "EZUserInfo.h"
 #import "Toast+UIView.h"
-#import "EZVideoTalkViewcontroller.h"
+//#import "EZVideoTalkViewcontroller.h"
 #import "EZMultiChannelRealPlayVC.h"
 #import "EZHubDebugViewController.h"
 #import "GlobalKit.h"
@@ -43,9 +43,17 @@
 
 @implementation EZDeviceTableViewController
 
+-(void)viewWillDisappear:(BOOL)animated
+{
+    //    self.navigationController.navigationBarHidden = YES;//2021-02-01 娣诲姞闅愯棌navigationBarHidden
+}
+
 - (void)viewDidLoad
 {
     [super viewDidLoad];
+    
+//    [[UIBarButtonItem appearance] setBackButtonTitlePositionAdjustment:UIOffsetMake(0, -60)
+//     forBarMetrics:UIBarMetricsDefault];
     
     // Uncomment the following line to preserve selection between presentations.
     // self.clearsSelectionOnViewWillAppear = NO;
@@ -58,6 +66,8 @@
     //    self.title.
     
     self.logoutBtn.title = NSLocalizedString(@"Logout", @"娉ㄩ攢");
+    self.logoutBtn.title = @"";
+    [self.logoutBtn setEnabled: NO];
     
     [self checkEZIsLogin];
 }
@@ -66,6 +76,9 @@
 - (void)viewWillAppear:(BOOL)animated
 {
     [super viewWillAppear:animated];
+    
+    self.navigationController.navigationBar.hidden = NO;//2021-02-01
+    
     if (_needRefresh)
     {
         _needRefresh = NO;
@@ -377,9 +390,9 @@
 }
 
 - (void) go2VideoTalk:(EZDeviceInfo *)deviceInfo {
-    EZVideoTalkViewcontroller *vc = [EZVideoTalkViewcontroller videoTalkVC];
-    vc.deviceInfo = deviceInfo;
-    [self.navigationController pushViewController:vc animated:YES];
+//    EZVideoTalkViewcontroller *vc = [EZVideoTalkViewcontroller videoTalkVC];
+//    vc.deviceInfo = deviceInfo;
+//    [self.navigationController pushViewController:vc animated:YES];
 }
 
 - (IBAction)go2MultiPlay:(id)sender {

--
Gitblit v1.8.0