How to change tintColor of UIBarButtonItem in Swift?
SWIFT 4
After you declare your custom barbuttonitem as an outlet:
@IBOutlet weak var yourBarButtonItem: UIBarButtonItem!
You can define your color however you like.
yourBarButtonItem.tintColor = .red