Skip to content

Commit 472134e

Browse files
committed
disable safeArea for SwiftUIComponent
1 parent 18bf97f commit 472134e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/UIComponent/Components/View/SwiftUI.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class SwiftUIHostingView: UIView {
4242
hostingController.rootView = swiftUIView
4343
} else {
4444
hostingController = UIHostingController(rootView: swiftUIView)
45+
hostingController?._disableSafeArea = true
4546
if #available(iOS 16.0, *) {
4647
hostingController?.sizingOptions = .intrinsicContentSize
4748
}

0 commit comments

Comments
 (0)