mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
ContactsTableViewController safe area insets, fixes #3072
Signed-off-by: ismailgulek <gulekismail@gmail.com>
This commit is contained in:
@@ -179,6 +179,13 @@
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:kAppDelegateDidTapStatusBarNotificationObserver];
|
||||
kAppDelegateDidTapStatusBarNotificationObserver = nil;
|
||||
}
|
||||
|
||||
if (!self.searchBarHidden && self.extendedLayoutIncludesOpaqueBars)
|
||||
{
|
||||
// if a search bar is visible, navigationBar height will be increased. Below code will force update layout on previous view controller.
|
||||
[self.navigationController.view setNeedsLayout]; // force update layout
|
||||
[self.navigationController.view layoutIfNeeded]; // to fix height of the navigation bar
|
||||
}
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in New Issue
Block a user