I want a UIBarButton Item like this in my NavigationBar and 

[![enter image description here](https://i.stack.imgur.com/6lYpz.png)](https://i.stack.imgur.com/6lYpz.png)

Normal UIButton like this

[![enter image description here](https://i.stack.imgur.com/zMGU6.png)](https://i.stack.imgur.com/zMGU6.png)

I already tried using these links
[Question 1](https://stackoverflow.com/questions/20894697/ios-fontawesome-in-middle-of-other-string) [Question 2](https://stackoverflow.com/questions/27104116/ios-fontawesome-on-uibarbuttonitem) [Question 3](https://stackoverflow.com/questions/10569878/how-to-integrate-and-use-font-awesome-with-objective-c-or-swift-in-an-xcode-proj) but didn't got the output.

My need is to append that FontAwesome icon with the button title text.

Can anyone help in this?

My code is:

```
NSString *icon = [NSString fontAwesomeIconStringForIconIdentifier:@"fa-folder-open"];

NSString *locationString = [NSString stringWithFormat:@"%@ %@", icon, @"Change"];

NSMutableAttributedString *astring = [[NSMutableAttributedString alloc] initWithString:locationString];

[astring addAttribute:NSFontAttributeName
                value:[UIFont iconicFontOfSize:20]
                range:NSMakeRange(0,1)]; // The first character

changeFolderButton.titleLabel.attributedText = astring;

```