sparrowcode/AlertKit

Set dismissByTap to false is not working

hstdt opened this issue · 1 comments

hstdt commented

Describe the bug
tapGesterRecognizer is initialized before dismissByTap is set to false.

To Reproduce

let alertView = SPAlertView(title: "", preset: .spinner) // tapGesture is added to view
alertView.dismissByTap = false // will not work
alertView.present()

CleanShot 2021-11-30 at 19 54 21

Thanks for reported!
Fixed in 3.5.1 version, please, update.