We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 464b191 commit 4f89148Copy full SHA for 4f89148
1 file changed
Projects/Presentation/Sources/Common/Extension/UIViewController+.swift
@@ -10,6 +10,13 @@ import UIKit
10
extension UIViewController {
11
// MARK: - NavigationBar
12
func configureNavigationBar(navigationStyle: NavigationBarStyle) {
13
+ let appearance = UINavigationBarAppearance()
14
+ appearance.backgroundEffect = .none
15
+ appearance.configureWithOpaqueBackground()
16
+ appearance.shadowColor = .clear
17
+ navigationController?.navigationBar.standardAppearance = appearance
18
+ navigationController?.navigationBar.scrollEdgeAppearance = appearance
19
+
20
switch navigationStyle {
21
case .hidden:
22
navigationController?.setNavigationBarHidden(true, animated: false)
0 commit comments