Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Use image extension can be crash! #49

Closed
richful opened this issue Feb 19, 2020 · 4 comments · Fixed by #50
Closed

Use image extension can be crash! #49

richful opened this issue Feb 19, 2020 · 4 comments · Fixed by #50

Comments

@richful
Copy link

richful commented Feb 19, 2020

when I try use UImage-dark in the demo, I receive a crash err. next the code

let lightImage = UIImage(named: "light")!
let darkImage = UIImage(named: "dark")!
let image = UIImage(.dm, light: lightImage, dark: darkImage)

can't find image ,the crash err is:

'+[UIImage dm_namespace:dm_imageWithLightImage:darkImage:]: unrecognized selector sent to class 0x7fff898bd368'

@yangwei0401
Copy link

I have the same issue

@li-bei
Copy link
Contributor

li-bei commented Feb 19, 2020

@richful @yangwei0401 Please use new version 0.4.0

@anysome
Copy link

anysome commented Feb 20, 2020

Pod repo can't fetch 0.4.0

@imWildCat
Copy link
Contributor

@anysome Thanks for reporting. This has been fixed now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants