Open kelvinlauKL opened 5 years ago
👍 let's take care of this once we assemble all the UI views together so we can figure out where this modifier is best applied. I haven't built the intuition for this quite yet, but I think it'll be easier to figure it out once we've built out the UI hierarchy. I think we might only need to set this once (or a few times) towards to top of the view hierarchy.
Going to leave this here for easy referencing later!
Brief
The app has non-optimal iPhone X layout, as depicted in the screenshot in #17
Just ran into a tip in the "Building Custom Views with SwiftUI" WWDC talk that should alleviate this:
.edgesIgnoringSafeArea(:)