damboscolo / SwiftToast

🍞 All customizable iOS toast view in Swift
https://damboscolo.github.io/SwiftToast
MIT License
38 stars 15 forks source link

About iOS 8.0 compatibility #12

Closed shar0 closed 6 years ago

shar0 commented 7 years ago

Here the error:

Class Unavailable:
UIStackView before iOS 9.0
SwiftToastView.xib

Can alternative xib to programmatically?

damboscolo commented 7 years ago

Sorry for the late response.

I've choosen to use stack view because it automatically resizes the spacing between the text and image. I could do without stack but it would give a little more work because I would have to manually take care of the constraints and customizations. 😕

If you still want to use it for previous iOS versions feel free to work on it and send me a PR.