mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Do a temporary workaround for navigation bar background, fixes #3271
This commit is contained in:
@@ -91,9 +91,10 @@ final class EmojiPickerViewController: UIViewController {
|
||||
super.viewDidAppear(animated)
|
||||
|
||||
// Enable to hide search bar on scrolling after first time view appear
|
||||
if #available(iOS 11.0, *) {
|
||||
self.navigationItem.hidesSearchBarWhenScrolling = true
|
||||
}
|
||||
// Commenting out below code for now. It broke the navigation bar background. For details: https://stackoverflow.com/questions/59716249/ios13-uitableview-uisearchcontroller-with-custom-hidessearchbarwhenscrolling#:~:text=On%20iOS%2013%2C%20if%20you,and%20it%20won%27t%20disappear
|
||||
// if #available(iOS 11.0, *) {
|
||||
// self.navigationItem.hidesSearchBarWhenScrolling = true
|
||||
// }
|
||||
}
|
||||
|
||||
override func viewDidDisappear(_ animated: Bool) {
|
||||
|
||||
Reference in New Issue
Block a user