Created
April 8, 2025 07:37
-
-
Save RaajeevChandran/8ee4df7143b2a32183adc05105111ee3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| override func dismissalTransitionWillBegin() { | |
| super.dismissalTransitionWillBegin() | |
| presentedViewController.transitionCoordinator?.animate(alongsideTransition: { [weak self] _ in | |
| guard let self else { return } | |
| self.presentedView?.layer.cornerRadius = .zero | |
| self.dimmedBackgroundView.backgroundColor = .clear | |
| }) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment