Fixes AppViewController navigation bar + tab bar appearance on iOS 15

This commit is contained in:
Riley Testut
2021-09-02 14:49:51 -05:00
parent 978544ed3f
commit bf68a284bb

View File

@@ -188,6 +188,13 @@ class AppViewController: UIViewController
self.contentViewController = segue.destination as? AppContentViewController
self.contentViewController.app = self.app
if #available(iOS 15, *)
{
// Fix navigation bar + tab bar appearance on iOS 15.
self.setContentScrollView(self.contentViewController.tableView)
self.navigationItem.scrollEdgeAppearance = self.navigationController?.navigationBar.standardAppearance
}
}
override func viewDidLayoutSubviews()