From f0e3321a83b89ad6ec2331452cd9d62a568ccd42 Mon Sep 17 00:00:00 2001 From: Sangwoo Byeon Date: Sun, 14 Jan 2024 02:05:21 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]=20#50=20-=20=EB=A7=88=EC=9D=B4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=84=A4=EB=B9=84=EA=B2=8C=EC=9D=B4?= =?UTF-8?q?=EC=85=98=20=EB=B0=94=20=EC=83=89=EC=83=81=20=EC=A0=81=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../MyPage/ViewControllers/MyPageViewController.swift | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DontBe-iOS/DontBe-iOS/Presentation/MyPage/ViewControllers/MyPageViewController.swift b/DontBe-iOS/DontBe-iOS/Presentation/MyPage/ViewControllers/MyPageViewController.swift index ea000be3..00e6adfc 100644 --- a/DontBe-iOS/DontBe-iOS/Presentation/MyPage/ViewControllers/MyPageViewController.swift +++ b/DontBe-iOS/DontBe-iOS/Presentation/MyPage/ViewControllers/MyPageViewController.swift @@ -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)