SVG不显示在Windows Phone 8 Phonegap应用程序 [英] SVGs not showing in Windows Phone 8 Phonegap app
本文介绍了SVG不显示在Windows Phone 8 Phonegap应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
似乎找不到任何答案。
Can't seem to find any answers on this.
使用Phonegap开发HTML5应用程序并使用SVG图片。从Adobe Illustrator的保存他们另存为...,然后使用它们像HTML正常图像:
Developing an HTML5 app with Phonegap and using SVG images. Saving them from Adobe Illustrator's "Save as.." and then using them like normal images in the HTML:
<img src="img/the_image.svg" />
他们出现罚款Android和iPhone,但Windows Phone的8显示了他们作为断开的链接。我做错了什么?难道WP8不支持SVGs这样?
They show up fine in Android and iPhone but Windows Phone 8 shows them as broken links. Anything I'm doing wrong? Does WP8 not support SVGs this way?
推荐答案
请从SVG图像开始的XML标记。
remove the starting XML tag from the SVG image.
<?xml version="1.0" encoding="utf-8"?>
这篇关于SVG不显示在Windows Phone 8 Phonegap应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文