sparrowcode / AlertKit

Native alert from Apple Music & Feedback. Contains Done, Heart & Message and other presets.
https://sparrowcode.io/frameworks
MIT License
2.33k stars 131 forks source link

Dark Mode Not Working in iOS 13 #6

Closed adam-redboxmobile closed 4 years ago

adam-redboxmobile commented 4 years ago

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.

ivanvorobei commented 4 years ago

@AdamRedboxMobile please, show code how use call SPAlert

adam-redboxmobile commented 4 years ago

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")!)

ivanvorobei commented 4 years ago

@AdamRedboxMobile I am tested for now - all work correct. Please, create simple project and send me.

adam-redboxmobile commented 4 years ago

@ivanvorobei I've sent you an email with the test project.

adam-redboxmobile commented 4 years ago

@ivanvorobei I've just had a look at the code from CocoaPods and it appears outdated compared to code on here

adam-redboxmobile commented 4 years ago

@ivanvorobei To confirm, it works when I replace the code in SPAlertView from CocoaPods with GitHub code.

ivanvorobei commented 4 years ago

@AdamRedboxMobile of course it old code. You install old version. Use pod update for install new version.

Screenshot 2019-08-14 at 11 54 16