cruffenach / CRToast

A modern iOS toast view that can fit your notification needs
MIT License
4.17k stars 463 forks source link

Swift3 UI Bug #208

Open Noodlekim opened 7 years ago

Noodlekim commented 7 years ago

We have been updated our source code from Swfft2.x to Swift3. I found one issue about uibug of CRToast. Check this screenshot.

Swift2 Swift3
swift2_crtoast swift3_crtoast_uibug
Noodlekim commented 7 years ago

We’ve solved this issue. Use setting option like this:

atryino commented 7 years ago

Had the same issue after migrating to Swift 3. As well as issues with setting the correct values for:

Converting these values to NSNumber(value: \<value>.rawValue) worked as well.