diff --git a/SPAlert.podspec b/SPAlert.podspec index 18003e6..db61c95 100644 --- a/SPAlert.podspec +++ b/SPAlert.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "SPAlert" - s.version = "2.1" + s.version = "2.1.1" s.summary = "Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets." s.homepage = "https://github.com/IvanVorobei/SPAlert" s.source = { :git => "https://github.com/IvanVorobei/SPAlert.git", :tag => s.version } diff --git a/Source/SPAlert/Views/SPAlertView.swift b/Source/SPAlert/Views/SPAlertView.swift index ccd438a..cd38f3a 100644 --- a/Source/SPAlert/Views/SPAlertView.swift +++ b/Source/SPAlert/Views/SPAlertView.swift @@ -206,7 +206,7 @@ open class SPAlertView: UIView { /** Use this method for force dismiss controller. By default it call automatically. */ - @objc func dismiss() { + @objc public func dismiss() { UIView.animate(withDuration: 0.2, animations: { self.alpha = 0 self.transform = self.transform.scaledBy(x: 0.8, y: 0.8)