Releases: sberrevoets/SDCAlertView
Releases · sberrevoets/SDCAlertView
9.0.1
Bug Fixes:
- Fixes incorrect margins for new iPhones
9.0
This release brings Swift 4.2 compatibility.
8.1.1
Bug Fixes:
- Fixes incorrect spacing when an action sheet doesn't have a label
8.1
This release brings Swift 4.1 compatibility.
Bug Fixes:
- Fixes build issues when using the new build system and CocoaPods
- Fixes a missing
contentView
in action sheets
8.0.2
Bug Fixes:
- Fixes the inverted
dismissOnOutsideTap
behavior for alert views - Hides action sheet labels when no title or subtitle are provided
- Fixes action sheet layout issues on iPhone X
- Invokes the
preferredAction
when the return key is hit on a hardware
keyboard - Return no
preferredAction
when the style of the alert is an action sheet
8.0.1
Bug Fixes:
- Fixes a layout issue when creating an alert with a custom content view
8.0
8.0
This release brings Swift 4 and iOS 11 compatibility. It also increases the
deployment target to iOS 9.0.
What's New:
- Adds a closure for handling taps in the outer (chrome) area of the alert
- Improves accessibility for alert actions
AlertController.add()
has been renamed toAlertController.addAction()
for
clarity- The
AlertBehaviors
constants are now lowercased, following Swift 3
conventions.
Bug Fixes:
- Fixes an issue that could lead the alert to be shown in an unsupported
orientation
7.1.2
Bug Fixes:
- Fixes a bug that could incorrectly set cancel button attributes on action
sheets
7.1.1
Bug fixes:
- Fixes a retain cycle when adding text fields to the alert
- Properly makes the first text field the first responder when presenting an
alert with text fields
7.1
What's New:
- Makes
AlertVisualStyle
subclassable again - Adds support for custom background colors in action sheets
- Adds Taptic feedback when dragging between buttons on iPhone 7
Bug Fixes:
- The dismissal animation looks like the system one again
- Action sheets without an explicit cancel button won't show the inferred cancel button twice anymore
- Button labels size and truncate as expected now, instead of being cut off