StonedStudio
StonedStudio

Reputation: 537

Swift - Using SVGs and proper scale UIImage / UIBarButton

I just updated all of my icon asset files from .pdf to .svg. Unfortunately, now I'm having strange scaling issues when using the svg images.

It appears that the only way they scale correctly is when used inside of a view that has autolayout. (ie stackviews)

Anyone have any ideas or tips on how to solve this?

Right bar button works.

This is 2 Right bar Buttons. The cone is an svg and the circle is a system icon.

enter image description here enter image description here

This is a cell where the constraints are being ignored

enter image description here XC Assets

Thank you

Upvotes: 3

Views: 592

Answers (0)

Related Questions