From d93c2ca7710ad0caf0dae42a4c53ad4bffbe7fc6 Mon Sep 17 00:00:00 2001 From: mingun Date: Sat, 25 Nov 2023 19:10:21 +0900 Subject: [PATCH] =?UTF-8?q?:art:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=EC=BD=94=EB=93=9C=20=EC=82=AD=EC=A0=9C(=EC=BD=94=EB=93=9C=20?= =?UTF-8?q?=EC=A0=95=EB=A6=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RewindJourneyViewController.swift | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/iOS/Features/RewindJourney/Sources/RewindJourneyView/RewindJourneyViewController.swift b/iOS/Features/RewindJourney/Sources/RewindJourneyView/RewindJourneyViewController.swift index e4f1b64..f05eee0 100644 --- a/iOS/Features/RewindJourney/Sources/RewindJourneyView/RewindJourneyViewController.swift +++ b/iOS/Features/RewindJourney/Sources/RewindJourneyView/RewindJourneyViewController.swift @@ -15,10 +15,6 @@ public final class RewindJourneyViewController: UIViewController { private enum Metrix { - //status view - enum StatusView { - static var height: CGFloat = 54.0 - } //progress bar enum Progressbar { static var height: CGFloat = 4.0 @@ -43,7 +39,6 @@ public final class RewindJourneyViewController: UIViewController { // MARK: - Properties var stackView = UIStackView() - let statusView = UIView() var presentImageView = UIImageView() let musicView = MSMusicView() var progressViews: [MSProgressView]? @@ -77,7 +72,6 @@ public final class RewindJourneyViewController: UIViewController { private func configureLayout() { self.configurePresentImageViewLayout() - self.configureStatusViewLayout() self.configureStackViewLayout() self.configureProgressbarsLayout() self.configureMusicViewLayout() @@ -96,18 +90,6 @@ public final class RewindJourneyViewController: UIViewController { ]) } - private func configureStatusViewLayout() { - self.view.addSubview(self.statusView) - - self.statusView.translatesAutoresizingMaskIntoConstraints = false - NSLayoutConstraint.activate([ - self.statusView.topAnchor.constraint(equalTo: self.view.topAnchor), - self.statusView.heightAnchor.constraint(equalToConstant: Metrix.StatusView.height), - self.statusView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor), - self.statusView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor) - ]) - } - private func configureStackViewLayout() { self.view.addSubview(self.stackView) @@ -117,7 +99,7 @@ public final class RewindJourneyViewController: UIViewController { self.stackView.translatesAutoresizingMaskIntoConstraints = false NSLayoutConstraint.activate([ - self.stackView.topAnchor.constraint(equalTo: self.statusView.bottomAnchor), + self.stackView.topAnchor.constraint(equalTo: self.view.safeAreaLayoutGuide.topAnchor), self.stackView.heightAnchor.constraint(equalToConstant: Metrix.Progressbar.height), self.stackView.leadingAnchor.constraint(equalTo: self.view.leadingAnchor, constant: Metrix.StackView.inset), self.stackView.trailingAnchor.constraint(equalTo: self.view.trailingAnchor, constant: -Metrix.StackView.inset)