Using svg or font icon in the ios applications
SVG fonts (paths) are kind of easy to convert into source code. Once you have this it's very simple to render them in different colours, sizes (iphone/ipad) or resolutions (e.g. retina).
That's what I did here. That's for an older version of FontAwesome, but it could be used as is (or updated to the latest) for your application.
Husein Behboudi Rad
Updated on June 21, 2022Comments
-
Husein Behboudi Rad almost 2 years
In my iOS application we need to change the color of the icons based on the user configuration. It is one of our important business option.
One of my friend advised me for using .svg or font icon. And shared me this link
They are creating web applications while I am developing iOS application. Does iOS support this technique too? If yes, how can I use it?
Edit
I found SVGKit that is used for the iPhone/iPad apps. Is there any binding library for using it on the monotouch?
-
Husein Behboudi Rad over 10 yearsas I see this is for Mac, I can not open it with xamarin studio and monotouch. My question is about using svg on the ios apps. Is it possible?
-
Husein Behboudi Rad over 10 yearsI found this github.com/SVGKit/SVGKit that seem is for using on the iphone/ipad apps. Is there any binding library for using it on the monotouch?
-
poupou over 10 yearsYou did not look far enough. Tere's an iOS demo of the results but the convertion from SVG to source code is done on the Mac (or Windows) since it's where the compilation (of the source code) can occur. github.com/spouliot/svgpath2code/tree/master/AwesomeDemo