iOS FontAwesome in middle of another string
问题 I am trying to display some text and an icon inside a single string using FontAwesome. Here is what I have: NSString *icon = [NSString fontAwesomeIconStringForIconIdentifier:@"icon-map-marker"]; NSString *locationString = [NSString stringWithFormat:@"%@ %@", icon, otherNormalString]; Basically I want to have the map marker show up in front of the location being displayed. Using FontAwesome should make this really simple but I can't quite get it to work right. Here is also what shows up if I