From d36fbfe177a67a05548f32e5dd0276fcd8b742c4 Mon Sep 17 00:00:00 2001 From: hyesuuou <68391767+hyesuuou@users.noreply.github.com> Date: Tue, 14 Sep 2021 20:47:14 +0900 Subject: [PATCH] =?UTF-8?q?[#2]=20=EB=A9=94=EC=9D=B8=EB=B7=B0=20=EC=83=81?= =?UTF-8?q?=EB=8B=A8=20NavigationBar=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Source/AddContact/AddContact.storyboard | 6 +-- .../Source/Detail/Detail.storyboard | 2 +- .../Source/Main/Base.lproj/Main.storyboard | 52 +++++++------------ .../AppleContacts/Source/Main/MainVC.swift | 11 ++++ 4 files changed, 33 insertions(+), 38 deletions(-) diff --git a/AppleContacts/AppleContacts/Source/AddContact/AddContact.storyboard b/AppleContacts/AppleContacts/Source/AddContact/AddContact.storyboard index ba88d8b..acb8667 100644 --- a/AppleContacts/AppleContacts/Source/AddContact/AddContact.storyboard +++ b/AppleContacts/AppleContacts/Source/AddContact/AddContact.storyboard @@ -64,14 +64,14 @@ - + - + - + diff --git a/AppleContacts/AppleContacts/Source/Detail/Detail.storyboard b/AppleContacts/AppleContacts/Source/Detail/Detail.storyboard index 42ec63d..5ccb74a 100644 --- a/AppleContacts/AppleContacts/Source/Detail/Detail.storyboard +++ b/AppleContacts/AppleContacts/Source/Detail/Detail.storyboard @@ -240,7 +240,7 @@ - + diff --git a/AppleContacts/AppleContacts/Source/Main/Base.lproj/Main.storyboard b/AppleContacts/AppleContacts/Source/Main/Base.lproj/Main.storyboard index 4bdabea..2358ab9 100644 --- a/AppleContacts/AppleContacts/Source/Main/Base.lproj/Main.storyboard +++ b/AppleContacts/AppleContacts/Source/Main/Base.lproj/Main.storyboard @@ -8,7 +8,7 @@ - + @@ -17,52 +17,26 @@ - + - - - - + - - - - - - - + - + - + @@ -137,7 +111,18 @@ - + + + + + + + + + + + + @@ -169,7 +154,6 @@ - diff --git a/AppleContacts/AppleContacts/Source/Main/MainVC.swift b/AppleContacts/AppleContacts/Source/Main/MainVC.swift index 9d0af8f..b12cf52 100644 --- a/AppleContacts/AppleContacts/Source/Main/MainVC.swift +++ b/AppleContacts/AppleContacts/Source/Main/MainVC.swift @@ -29,6 +29,17 @@ class MainVC: UIViewController { // MARK: - UI func setUI(){ setSearchBarUI() + setNavigationBarUI() + } + + // MARK: UI / NavigationBar + func setNavigationBarUI(){ + navigationController?.navigationBar.backgroundColor = .systemGray6 + + /// 선 없애기 + self.navigationController?.navigationBar.setBackgroundImage(UIImage(), for: .default) + self.navigationController?.navigationBar.shadowImage = UIImage() + } // MARK: UI / SearchBarUI