PMAlertController is a great and customizable alert that can substitute UIAlertController
Now is possible to dismiss an alert with a background tap. This feature is disabled by default, so no worries for standard usage.
References: https://github.com/Codeido/PMAlertController/pull/38
PMAlertController now supports Text Fields! :confetti_ball:
Add a text field is really simple
alertVC.addTextField { (textField) in
textField?.placeholder = "Location..."
}
References: https://github.com/Codeido/PMAlertController/pull/27 https://github.com/Codeido/PMAlertController/pull/34
Fix header UIImageView constraints
Swift 3.0 and Xcode 8 support.
Changes: This new version now use a header view instead of image, that is more flexible for show dynamic information besides the title and text. The old imageview is now contained inside the header view.
References: https://github.com/Codeido/PMAlertController/issues/14 https://github.com/Codeido/PMAlertController/issues/15
Swift 2.3 and Xcode 8 support + optimizations. Available on Cocoapods.
Use
pod 'PMAlertController' , '~> 1.1.0'
Now alertStackViewHeightConstraint is public. See this pull request for more info: https://github.com/Codeido/PMAlertController/pull/21
NB: this release use Swift 2.2.