Skip to content

Conversation

@ferusinfo
Copy link

In the project that I am working on, I was required to hide - and in some cases change its opacity - the background mask that is displaying below the overlay.

This pull request is adding that funcionality to the main library.
Hope you can merge it and therefore we will be able to use the official repository instead of the fork.

Thanks! :)

@mrackwitz
Copy link
Owner

I'd propose to collapse the functionality into one single property dimmedBackgroundColor.

/**
The color used to dim the entire area of the superview when the overlay is shown.

The default value is translucent black with an opacity of 40%.

Set this property to `nil` to prevent a background color change when the overlay is shown.
*/
+@property (nonatomic, copy) UIColor *dimmedBackgroundColor UI_APPEARANCE_SELECTOR;

What do you think?

@ferusinfo
Copy link
Author

That is a good call - I haven't thought about this honestly 👍

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

Successfully merging this pull request may close these issues.

2 participants