Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to dim background view when open view ? #9

Open
X901 opened this issue Feb 28, 2022 · 1 comment
Open

How to dim background view when open view ? #9

X901 opened this issue Feb 28, 2022 · 1 comment

Comments

@X901
Copy link

X901 commented Feb 28, 2022

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
Copy link
Owner

edudnyk commented Jan 12, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants