let appearance = UINavigationBarAppearance()
appearance.configureWithTransparentBackground()
appearance.titleTextAttributes = [.foregroundColor: UIColor.white]
appearance.largeTitleTextAttributes = [.foregroundColor: UIColor.white]
appearance.backgroundColor = .systemBlue
UINavigationBar.appearance().standardAppearance = appearance
UINavigationBar.appearance().scrollEdgeAppearance = appearance
UINavigationBar.appearance().tintColor = .white
Status bar 색상 변경
1. Status Bar Style을 Light Content로 변경 2. Info.plist 설정 Key: View controller-based status bar appearance Value: No
betterhee.tistory.com
'' 카테고리의 다른 글
Handling Different Data Types in Core Data (0) | 2023.09.04 |
---|---|
Javascript Interface (Bridge) (0) | 2022.11.24 |
딥링크 (URL Scheme, Universal Link) (0) | 2022.11.21 |
Status bar 색상 변경 (0) | 2022.11.18 |
면접질문 (0) | 2022.11.08 |