Toast-Swift
Toast-Swift copied to clipboard
Add rotate support to ToastStyle
This is something we required within our project as we have a Camera Preview view with a locked orientation where we manually rotate view elements to match the current device orientation. It's only really useful when position is .center, as rotating with .top & .bottom will probably make the toast view protrude the screen edge.
If you want i can look into adjusting the position for .top & .bottom when rotationAngle is used so this doesn't occur.