Closed MoElnaggar14 closed 3 years ago
Could you share some details so I can try to reproduce your problem? If you could attach a sample project, that would be great.
I'm trying to hide a custom MessageView and show a new one
UIView.animate(withDuration: 0.01) {
// hide the old view
SwiftMessages.hide()
} completion: { _ in
// i already declared the config and view
SwiftMessages.show(config: config, view: view)
}
Curios why you're showing inside of an animation block? Not sure what that's intended to accomplish.
But could you try 8.0.5? I haven't reproduced your issue, but 8.0.4 introduced a bug that was affecting folks in different ways.
it's not working without the animation block, I don't know why.
I'll try with 8.0.5 and back to you
If it isn't working (though I'm not exactly sure what "it" means), something is horribly wrong. Take a look at the demo app.
Okay, I'll take a look. Thanks for your quick response. I just updated and tested the latest version and everything looks good 🎉 .
I'll close the issue.
I don't know what's the changes in the latest version.
it's working fine in Version 8.0.3 or lower.