I\'d like to change the text font and color of the Cancel button inside the UISearchBar in iOS 8. I\'ve tried the solutions for iOS 6 and 7 already and they don\'t seem to w
This was not the solution I was looking for, but it worked.
let cancelButtonAttributes: NSDictionary = [NSFontAttributeName: FONT_REGULAR_16!, NSForegroundColorAttributeName: COLOR_BLUE] UIBarButtonItem.appearance().setTitleTextAttributes(cancelButtonAttributes, forState: UIControlState.Normal)