I have this 3 colored SVG included in my TTF font icon file. I am able to use mono color font icon, but with multicolor or even bi-color it is getting broken.
This is my code for to use font icon. It is working perfectly fine for single colored font icon.
Is setting font icon as Attributed String a solution. If yes then how (I mean range) ?
public class func stringForIcon(_ icon: NSInteger) -> String {
let iconString = String(Character(UnicodeScalar(icon)!))
return iconString
}

