From 21cbbe097e651d89c0ea4b3d72d26f1e6f9962ce Mon Sep 17 00:00:00 2001 From: Vitor Mesquita Date: Mon, 18 Sep 2017 16:55:59 -0400 Subject: [PATCH] added cancelsTouches, updated podspec and updating changelog --- CHANGELOG.md | 13 +++++++++++++ Malert.podspec | 2 +- .../ViewController/MalertViewController.swift | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f16243..1f98370 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,3 +38,16 @@ > **Implemented enhancements:** > > - Create `MalertViewControllerCallback` to change responsibility of dismiss for `Malert` +> +> ### [1.1.4](https://github.com/vitormesquita/Malert/tree/1.1.4) +> +> **Implemented enhancements:** +> +> - Added `clipToBouds` and removed `customViewCorners()` from MalertView +> +> ### [1.1.5](https://github.com/vitormesquita/Malert/tree/1.1.5) +> +> **Fixed bugs:** +> +> - Added `cancelsTouchesInView=false` in MalertViewController `tapRecognizer` for not cancel subviews touch +> diff --git a/Malert.podspec b/Malert.podspec index 7712f04..0a92a87 100644 --- a/Malert.podspec +++ b/Malert.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'Malert' -s.version = '1.1.4' + s.version = '1.1.5' s.summary = 'A simple, easy and very customizable alert' # This description is used to generate tags and improve search results. diff --git a/Malert/Classes/ViewController/MalertViewController.swift b/Malert/Classes/ViewController/MalertViewController.swift index 4ede7d8..28d1459 100644 --- a/Malert/Classes/ViewController/MalertViewController.swift +++ b/Malert/Classes/ViewController/MalertViewController.swift @@ -52,6 +52,7 @@ class MalertViewController: BaseMalertViewController { super.viewDidLoad() let tapRecognizer = UITapGestureRecognizer(target: self, action: #selector(tapOnView)) + tapRecognizer.cancelsTouchesInView = false self.view.addGestureRecognizer(tapRecognizer) listenKeyboard() }