I’ve written a Swift Package that includes a custom modifier that allows you to use the half modal sheet.
Here is the link: https://github.com/AndreaMiotto/PartialSheet
Feel free to use it or to contribute
More Related Contents:
- Opt out of UISceneDelegate/SwiftUI on iOS
- Programmatically detect Tab Bar or TabView height in SwiftUI
- SwiftUI HStack with wrap and dynamic height
- Use Binding with a TextField SwiftUI
- SwiftUI how to prevent view to reload whole body
- Where is Info.plist in Xcode 13? (missing, not inside project navigator)
- How to configure ContextMenu buttons for delete and disabled in SwiftUI?
- #ifdef replacement in the Swift language
- How to resolve: ‘keyWindow’ was deprecated in iOS 13.0
- How to convert a date string with optional fractional seconds using Codable in Swift?
- Do Swift-based applications work on OS X 10.9/iOS 7 and lower?
- Instantiated optional variable shows as nil in Xcode debugger
- What enables SwiftUI’s DSL?
- SwiftUI iOS14 – NavigationView + List – Won’t fill space
- How can I pop to the Root view using SwiftUI?
- How to use Attributed String in SwiftUI
- How to convert a View (not UIView) to an image?
- How change background color if using NavigationView in SwiftUI?
- What does the dollar sign do in Swift / SwiftUI?
- Swap rootViewController with animation?
- TabView resets navigation stack when switching tabs
- How to remove the left and right Padding of a List in SwiftUI?
- Updating time text label each minute in WidgetKit
- How do I see which version of Swift I’m using?
- Get index in ForEach in SwiftUI
- Include SwiftUI views in existing UIKit application
- Accessing AppState in AppDelegate with SwiftUI’s new iOS 14 life cycle
- SwiftUI 2: the way to open view in new window
- use @main in Xcode 12
- Custom Button in SwiftUI List