UISearchBar set different tint color for cancel button
<p>In my swift app I have a search bar like this:</p>

<pre><code>lazy var searchBar = UISearchBar(frame: CGRectMake(0, 0, 0, 0))
searchBar.delegate = self
searchBar.showsCancelButton = true
searchBar.tintColor = UIColor.blackColor()
searchBar.spellCheckingType = .No
searchBar.autocapitalizationType = .None
searchBar.autocorrectionType = .No
searchBar.placeholder = "Suchbegriff eingeben ..."
searchBar.sizeToFit()
</code></pre>

<p>How can I set another tint color for cancel button as the tint color for the whole search bar?</p>