From 5280354ef8f60c3d7ff0638ae87708922afe316e Mon Sep 17 00:00:00 2001 From: Ignacio Romero Zurbuchen <590579+dzenbot@users.noreply.github.com> Date: Sun, 17 Nov 2019 20:35:03 -0800 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9a6564e..581cc77 100644 --- a/README.md +++ b/README.md @@ -255,10 +255,10 @@ shadow.shadowRadius = 4.0 presenter.dropShadow = shadow ``` -You can choose to disable dismissOnTap that dismisses the presented view controller on tapping the background. Default is true. Or you can disable the animation for the dismissOnTap and dismissOnSwipe. +You can choose to disable backgroundTap that dismisses the presented view controller on tapping the background. Default is `dismiss`. Or you can disable the animation for the backgroundTap and dismissOnSwipe. ```swift -presenter.dismissOnTap = false +presenter.backgroundTap = false presenter.dismissAnimated = false ```