-
Notifications
You must be signed in to change notification settings - Fork 228
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
Image is displayed way too big #157
Comments
@Schnodderbalken did you try setting boundingBox to your SVGView object? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the Issue
I have an SVG image which I load from a URL and position with programmatically with translatesAutoresizingMaskIntoConstraints = false and NSLayoutConstraints. If I use a usual UIImageView (with a static rendered image) then everything is fine. Using an SVGView creates the mentioned problem (see screenshot below).
Sample SVG
https://www.patavinus.com/static/images/company-logos/5/logo.svg
Screenshots
Using SVGView: https://pasteboard.co/ICdMugc.png
Using UIImageView: https://pasteboard.co/ICdMPfA.png
The text was updated successfully, but these errors were encountered: