Updated
Sep 19, 2019 2:00 PM
Created
Sep 15, 2019 10:54 AM
Tags
SwiftUI.framework
Keywords
Summary
レイアウトからSafeAreaの考慮を除外する設定
Use cases
背景画像をフルスクリーンで設定するとき
Description
struct IgnoringSafeAreaInsetsView: View {
var body: some View {
Color(.systemOrange)
.edgesIgnoringSafeArea(.all)
}
}
Before
After