Version 1.2.1
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
}