Open abdullahumer opened 8 years ago
Yes. However, you should not assign ‘myText’ directly to IconIdentifier because fontawesome has no idea about what “fa-github+myText” is. The right way is
NSString *fontIcontStr = [NSString fontAwesomeIconStringForIconIdentifier:@"fa-angle-double-right"]; NSString *text = [NSString stringWithFormat:@"%@ myText", fontIconStr]; [self.label setText:text];
Is there any way to add an icon + any text to a label or image?
e.g: