-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Niccolò! #1
Comments
Hello Alex! I have achieved the result you wanted by ignoring the safe area in var body: some View {
CustomTabView(tabBarView: tabBarView, tabs: Tab.allCases, selection: selectedTab) {
NavigationView {
ZStack {
Color.orange
Text("Profile")
}
.edgesIgnoringSafeArea(.all) // <--- Here
.navigationBarTitle("Profile")
}
// Other tabs
}
.edgesIgnoringSafeArea(.vertical) // <--- Here
} Let me know if that works for you as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Grate project!
I found a small issue, all tabs screens are in safe area, and I cannot change this, for example the back ground color of the status bar in every screen. I am afraid the fix is going to be dangerous for current users?
if you add the .ignoresSafeArea(.container), the issue solved, but the we have 2 problems.
1 It supported since ios13, mac 11.
2 the other thing, depending on the setup, it may? brake thing for current users.
The text was updated successfully, but these errors were encountered: