edudnyk / SheeKit

Customize and resize sheets in SwiftUI with SheeKit. Utilise the power of `UISheetPresentationController` and other UIKit features.
MIT License
91 stars 7 forks source link

How to dim background view when open view ? #9

Open X901 opened 2 years ago

X901 commented 2 years ago

I notice you disable background view under sheet , after opened sheet could you allow dim background view ? so the view under sheet become darker color ?

edudnyk commented 1 year ago

Hi @X901, can you elaborate where you noticed that? You can check the SheetProperties.swift file, there is this property:

/// The identifier of the largest detent that is not dimmed. When `nil` or the identifier is not found in detents, all detents are dimmed.
    /// Default: `nil`
    public var largestUndimmedDetentIdentifier: UISheetPresentationController.Detent.Identifier?