Browse Source

fix ui error

heavyrain2012 4 years ago
parent
commit
dfd0460fa6

+ 1 - 0
wfuikit/WFChatUIKit/AddFriend/ViewController/WFCUAddFriendViewController.m

@@ -26,6 +26,7 @@
 - (void)viewDidLoad {
     [super viewDidLoad];
     [self initSearchUIAndData];
+    self.extendedLayoutIncludesOpaqueBars = true;
 }
 
 - (void)viewWillDisappear:(BOOL)animated {

+ 1 - 0
wfuikit/WFChatUIKit/Channel/WFCUSearchChannelViewController.m

@@ -26,6 +26,7 @@
 - (void)viewDidLoad {
     [super viewDidLoad];
     [self initSearchUIAndData];
+    self.extendedLayoutIncludesOpaqueBars = true;
 }
 
 - (void)viewWillDisappear:(BOOL)animated {

+ 1 - 0
wfuikit/WFChatUIKit/Contacts/ViewController/WFCUContactListViewController.m

@@ -132,6 +132,7 @@ static NSMutableDictionary *hanziStringDict = nil;
         self.tableView.tableHeaderView = _searchController.searchBar;
     }
     self.definesPresentationContext = YES;
+    self.extendedLayoutIncludesOpaqueBars = true;
     
     self.tableView.sectionIndexColor = [UIColor colorWithHexString:@"0x4e4e4e"];
     [self.view addSubview:self.tableView];

+ 1 - 1
wfuikit/WFChatUIKit/ConversationList/ViewController/WFCUConversationSearchTableViewController.m

@@ -76,7 +76,7 @@
     self.messages = [[NSMutableArray alloc] init];
     [self initSearchUIAndTableView];
 
-    
+    self.extendedLayoutIncludesOpaqueBars = true;
     [self.searchController.searchBar setText:self.keyword];
     self.searchController.active = YES;
 }

+ 1 - 2
wfuikit/WFChatUIKit/ConversationList/ViewController/WFCUConversationTableViewController.m

@@ -244,8 +244,7 @@
     self.conversations = [[NSMutableArray alloc] init];
     
     [self initSearchUIAndTableView];
-    
-    
+    self.extendedLayoutIncludesOpaqueBars = true;
     self.navigationItem.rightBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"bar_plus"] style:UIBarButtonItemStyleDone target:self action:@selector(onRightBarBtn:)];
     
     

+ 1 - 1
wfuikit/WFChatUIKit/ForwardMessage/WFCUForwardViewController.m

@@ -45,7 +45,7 @@
 
     self.conversations = [[[WFCCIMService sharedWFCIMService] getConversationInfos:@[@(Single_Type), @(Group_Type)] lines:@[@(0)]] mutableCopy];
 
-    
+    self.extendedLayoutIncludesOpaqueBars = true;
     
     self.searchController = [[UISearchController alloc] initWithSearchResultsController:nil];
     self.searchController.searchResultsUpdater = self;