Type Safely

Type Safely

Share this post

Type Safely
Type Safely
Hiding The Sheet Drag Indicator and Binding Sheet Detent Selection

Hiding The Sheet Drag Indicator and Binding Sheet Detent Selection

Daily Coding Tip 191

Type Safely's avatar
Type Safely
Oct 09, 2022
∙ Paid

Share this post

Type Safely
Type Safely
Hiding The Sheet Drag Indicator and Binding Sheet Detent Selection
Share
three dome tents with lights on forest beside campfire
Photo by Tommy Lisbin on Unsplash

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.

Already a paid subscriber? Sign in
© 2025 Type Safely
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share