2016-02-12 58 views
0

我想加載一個Xamarin WebView(單點觸摸)的HTML頁面,並試圖顯示從Bootstrap圖標,它顯示罰款時,HTML頁面加載在Safari瀏覽器,但在WebView中加載時圖標會發生變化。Bootstrap圖標不顯示(Xamarin WebView)

我的問題是,如何在WebView中顯示引導程序圖標?

在Safari中: enter image description here

在網頁視圖: enter image description here

代碼:

<section> 
    <div class="input-group col-lg-2"> 
     <span class="input-group-addon"> 
      <i class="glyphicon glyphicon-map-marker"></i> 
     </span> 
     <input type="text" readonly class="form-control"/> 
     <span class="input-group-btn"> 
      <button class="btn btn-default" type="button">GPS</button> 
     </span> 
    </div> 
</section> 

伊夫檢查,一切都正常引用。

回答

0

它可能會添加glyphicon-nonescaped

您的新代碼將得到解決:

<i class="glyphicon glyphicon-map-marker glyphicon-nonescaped"></i> 
+0

負,似乎沒有任何區別。謝謝你的努力。 – user5581557