Skip to content

Commit

Permalink
fix: 홈에서 책 생성 화면 갔다왔을 때 네비게이션 나타나는 문제 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyxxn committed Nov 12, 2024
1 parent 89d1cb6 commit 525a950
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ final class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}

let navigationController = UINavigationController(rootViewController: initialViewController)
navigationController.navigationBar.isHidden = true
window?.rootViewController = navigationController
window?.makeKeyAndVisible()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ public final class HomeViewController: UIViewController {
configureConstraints()
}

public override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)

navigationController?.navigationBar.isHidden = true
}

// MARK: - Setup & Configuration
private func setup() {
view.backgroundColor = .baseBackground
Expand Down

0 comments on commit 525a950

Please sign in to comment.