I wanted to improve on Daily Coding Tip 113, where I made it possible to snap a sheet to multiple heights using PresentationDetent
.
That tip didn’t use a modifier for content within a sheet that can hide or show the drag indicator. This is a small capsule shaped view that Apple places at the top of a sheet, informing the…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.