Skip to content

Commit

Permalink
[Fix] #50 - 마이페이지 네비게이션 바 색상 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
boogios committed Jan 13, 2024
1 parent 1ab9d4d commit f0e3321
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,19 @@ final class MyPageViewController: UIViewController {

extension MyPageViewController {
private func setUI() {
self.view.backgroundColor = .donBlack
self.tabBarController?.tabBar.isTranslucent = true
self.title = StringLiterals.MyPage.MyPageNavigationTitle
self.navigationController?.navigationBar.titleTextAttributes = [.foregroundColor: UIColor.donWhite]
self.navigationController?.navigationBar.tintColor = .donBlack
self.navigationController?.navigationBar.barTintColor = .donBlack
self.navigationController?.navigationBar.backgroundColor = .donBlack
self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default)
self.navigationController?.navigationBar.isTranslucent = true

let statusBarView = UIView(frame: UIApplication.shared.statusBarFrame)
statusBarView.backgroundColor = UIColor.donBlack // 적절한 색상으로 변경 가능
view.addSubview(statusBarView)

let image = ImageLiterals.MyPage.icnMenu
let renderedImage = image.withRenderingMode(.alwaysOriginal)
Expand Down

0 comments on commit f0e3321

Please sign in to comment.