SDCAlertView Versions Save

The little alert that could

v9.0

5 years ago

This release brings Swift 4.2 compatibility.

v8.1.1

5 years ago

Bug Fixes:

  • Fixes incorrect spacing when an action sheet doesn't have a label

v8.1

5 years ago

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

v8.0.2

6 years ago

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

v8.0.1

6 years ago

Bug Fixes:

  • Fixes a layout issue when creating an alert with a custom content view

v8.0

6 years ago

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 to AlertController.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

v7.1.2

7 years ago

Bug Fixes:

  • Fixes a bug that could incorrectly set cancel button attributes on action sheets

v7.1.1

7 years ago

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

v7.1

7 years ago

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

v7.0.1

7 years ago

Bug Fixes:

  • Avoids an infinite loop/crash when using an action sheet without explicit cancel buttons