-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content Mode doesn't work #218
Comments
Could you please attach an SVG that doesn't work for you? |
@ystrot I got the tiger svg from your git example |
hi @ystrot |
Hi, @cuong1112035, MacawView doesn't support contentMode functional, only SVGView class from Macaw library support this UIView functional (I've tried with you project - everything work as expected). We can suggest you to use SVGView if possible, if not, you can just copy&paste SVGView implementation to your code and customise it as you like. Reference to SVGView content mode implementation: https://github.com/exyte/Macaw/blob/master/Source/svg/SVGView.swift#L66-L144 We will add this functional to later releases, thanks. |
Both |
Hi, thank for your library.
I created a view with specific frame and setting Scale To Fill for content mode but It doesn't work. Did I miss something?
The text was updated successfully, but these errors were encountered: