Skip to content

Version 1.2.1

Compare
Choose a tag to compare
@Minitour Minitour released this 13 Dec 20:06

Added New APIs

  • Added blurBackground - true by default, shows a UIVisualEffectView when displaying the dialog.
  • Added blurEffectStyle - default is .dark
  • Added buttonInit closure variable which allows the initalization of a custom UIButton.

Usage Examples:

//true by default
dialog.blurBackground = true

//default is dark
dialog.blurEffectStyle = .extraLight

dialog.buttonInit = { index in
    //set a custom button only for the first index
    return index == 0 ? HighlightableButton() : nil
}