[iOS, Swift] Safe Area 높이 구하기 iOS 16.1, Xcode 14.2, Swift 5, UIKit 환경에서 진행했습니다. let safeAreaTop = UIApplication.shared.windows.first?.safeAreaInsets.top let safeAreaBottom = UIApplication.shared.windows.first?.safeAreaInsets.bottom iOS/코드조각 2023.02.21