---
title: "Discussion on \"SwiftUI Bottom Sheet: How to Hide Unwanted UI Components\" | Hashnode"
description: "Discussion on \"SwiftUI Bottom Sheet: How to Hide Unwanted UI Components\". This blog post will explain alternatives for programmatically determining a presented sheet's detent in SwiftUI.\nTo present a bottom sheet on iOS is very easy with SwiftUI thanks to the sheet and presentationDetents modifiers.\n\nTo turn a normal sheet..."
url: "https://hashnode.com/posts/swiftui-bottom-sheet-how-to-hide-unwanted-ui-components/6664e107d3cd4a75b150eb86"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SwiftUI Bottom Sheet: How to Hide Unwanted UI Components](https://blog.eidinger.info/swiftui-bottom-sheet-how-to-hide-unwanted-ui-components?utm_source=hashnode&utm_medium=feed)

This blog post will explain alternatives for programmatically determining a presented sheet's detent in SwiftUI. To present a bottom sheet on iOS is very easy with SwiftUI thanks to the sheet and presentationDetents modifiers. To turn a normal sheet...

Jun 8, 2024 · 4 min read · blog.eidinger.info  
Read the article

-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#ios](https://hashnode.com/tag/ios)

## Written by

[Marco Eidinger](https://hashnode.com/@MarcoEidinger)

@MarcoEidinger

  
[View profile](https://hashnode.com/@MarcoEidinger)

#Swift #iOS SDK architect 🇺🇸 🇩🇪

I am a Software Engineer working on open source and enterprise mobile SDKs for iOS and MacOS developers written in Swift. From 🇩🇪 and happily living in 🇺🇸

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
