Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I use SVG files in Xcode projects?

Tags:

xcode

ios

I have downloaded "Add-to-Apple-Wallet" button from Apple website. But the format given is SVG.

The guidelines says that I should not modify the image. Should I use the SVG as it is in the project or can I convert it to pdf or png using some tool like sketch.

like image 497
Tamil Avatar asked Mar 09 '23 22:03

Tamil


1 Answers

Starting from Xcode 12 SVG support was added in xcassets file.

enter image description here

like image 76
Ramis Avatar answered Mar 12 '23 12:03

Ramis