Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apple touch icon svg support

Is it possible (or soon supported) to replace all touch-icon's with a single SVG?

So, instead of;

<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144.png">

... just a single;

<link rel="apple-touch-icon" href="/apple-touch-icon.svg">
like image 307
Robert Lidberg Avatar asked Sep 03 '25 13:09

Robert Lidberg


1 Answers

Unfortunately iOS doesn't support SVG icons at the moment. And it will probably not have support soon. Also android doesn't support it.

Update:
It looks like Safari is starting to support SVG favicons

See: http://caniuse.com/#feat=link-icon-svg

To add a svg icon for pinned tabs within Safari you need to add:

<link rel="mask-icon" href="website_icon.svg" color="red">
like image 63
Lemnis Avatar answered Sep 05 '25 15:09

Lemnis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!