Swiftã§UILabelã«HTMLã表示ããæ¹æ³ Objective-Cã¨ãã¾ãå¤ãããªããã©ãè¥å¹²ã¤ã¾ã¥ããã®ã§ã¡ã¢ã 注ï¼UILabelãªã®ã§ãããã¾ã§è¡¨ç¤ºããã§ãã¾ããã<a>ã¿ã°ã§ãªã³ã¯ã¯ãªãã¯ã¨ãããããå ´åã¯UIWebView使ãã¾ããã ãµã³ãã«ããã¸ã§ã¯ã ãµã³ãã«ã³ã¼ã var htmlText = "空ã¯<font color=\"blue\">éã</font>ã<br>" + "An apple is <font color=\"red\">red</font>." var err:NSError? self.htmlLabel.attributedText = NSAttributedString( data: htmlText.dataUsingEncoding(NSUnicodeStringEncoding, allowLossyConversion: tr
{{#tags}}- {{label}}
{{/tags}}