2013-03-29 10 views
13

E 'possibile (o presto supportato) sostituire tutte le icone touch con un singolo SVG?apple touch icon svg support

Quindi, anziché;

<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"> 

... un singolo;

<link rel="apple-touch-icon" href="/apple-touch-icon.svg"> 

risposta

5

Sfortunatamente iOS al momento non supporta icone SVG. E correttamente non avrà supporto presto. Anche Android non lo supporta.

Aggiornamento:
Sembra che Safari sta iniziando a supportare favicon SVG

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