2016-03-11 124 views
1

我正在開發Appcelerator studio。我想在標籤text.how中添加html標籤我可以在標籤中添加這個標籤。我們如何在Titanium中添加HTML標籤iOS標籤

var labThesisDetail = Titanium.UI.WebView({ 
     text : "<p><strong>Master Of Science in Land Resource Management</strong></p> <p> </p>", 
     width : Ti.UI.FILL, 
     height : Ti.UI.SIZE, 
     right : 20, 
     top : 20, 
     editable : false, 
     backgroundColor : 'white', 
     left : 20, 
     color : "black", 
     font : { 
      fontSize : 13, 
      //fontFamily : "Signika-Regular", 
      fontWeight : 'normal' 
     } 
    }); 
    viewCourseSummary.add(labThesisDetail); 

回答