material-foundation/material-sprited-animation-view-ios

MDFSpritedAnimationView does not provide a way to flip images for RTL locales

romoore opened this issue · 0 comments

I would like to pass a sprite sheet to MDFSpritedAnimationView and have an option for it to automatically be mirrored in RTL.

When a UIImage object is passed with an orientation other than .Up (e.g., .upMirrored), there is no effect on the resulting view. Neither does semanticContentAttribute on the view seem to do anything for images where flipsForRightToLeftLayoutDirection is set to YES.