Closed adam-redboxmobile closed 4 years ago
@AdamRedboxMobile please, show code how use call SPAlert
So I've installed it through CocoaPods, imported SPAlert and am using this code to show the alert:
SPAlert.present(title: "TITLE", message: "MESSAGE", image: UIImage(systemName: "IMAGE")!)
@AdamRedboxMobile I am tested for now - all work correct. Please, create simple project and send me.
@ivanvorobei I've sent you an email with the test project.
@ivanvorobei I've just had a look at the code from CocoaPods and it appears outdated compared to code on here
@ivanvorobei To confirm, it works when I replace the code in SPAlertView from CocoaPods with GitHub code.
@AdamRedboxMobile of course it old code. You install old version. Use pod update
for install new version.
I'm using SPAlert in an app that has iOS 13 as the minimum target but in both light & dark modes on device, the alert always uses light mode.