On some devices, my UIBarButtonItem buttons have a background color. I don't know what is causing this. Here is how it looks on some devices:
It should, and does, look like this, on most devices and in the simulator for all device types:
I do make a lot of changes to appearance but I don't see how any of these settings would cause this problem. Here are my appeance settings:
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
UIApplication.sharedApplication().statusBarStyle = .LightContent
UINavigationBar.appearance().barStyle = .Black
UINavigationBar.appearance().barTintColor = UIColor.darkGrayColor()
UINavigationBar.appearance().tintColor = UIColor.whiteColor()
UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]
UIToolbar.appearance().barTintColor = UIColor.darkGrayColor()
UIToolbar.appearance().tintColor = UIColor.whiteColor()
UITableView.appearance().backgroundColor = UIColor.blueColor()
UITableView.appearance().tableFooterView = UIView(frame: CGRectZero)
UITableViewHeaderFooterView.appearance().tintColor = UIColor.blueColor()
return true
}