From b3eff09069ae6163ba6f53312704611125b7b0cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=80=E1=85=B5=E1=86=B7=E1=84=90=E1=85=A2=E1=84=92?= =?UTF-8?q?=E1=85=A7=E1=86=BC=5BLINE=20MUSIC=20iOS=5D?= Date: Mon, 1 Jul 2024 12:11:20 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/Controller/SheetContentsViewController.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Sources/Controller/SheetContentsViewController.swift b/Sources/Controller/SheetContentsViewController.swift index 2687d6d..90af352 100644 --- a/Sources/Controller/SheetContentsViewController.swift +++ b/Sources/Controller/SheetContentsViewController.swift @@ -26,11 +26,7 @@ open class SheetContentsViewController: UICollectionViewController, SheetContent } private var statusBarHeight: CGFloat { - if #available(iOS 13.0, *) { - return UIApplication.shared.windows.first { $0.isKeyWindow }?.windowScene?.statusBarManager?.statusBarFrame.height ?? 0 - } else { - return UIApplication.shared.statusBarFrame.height - } + return UIApplication.shared.windows.first { $0.isKeyWindow }?.windowScene?.statusBarManager?.statusBarFrame.height ?? 0 } public var contentScrollView: UIScrollView {