Please note: this is iOS Swift 2.0
I have added a tabBarItem to my UITabBarController. The image is intentionally larger than the height of the TabBar itself (by design). When this renders on the phone, there is a black line through the image of the tabBarItem.
Here is the code I used to generate the tabBarItem:
let checkInstoryboard = UIStoryboard(name: "CheckIn", bundle: nil)
let checkInViewController = checkInstoryboard.instantiateInitialViewController() as! UINavigationController
checkInViewController.tabBarItem.image = UIImage(named:"check_icon_unselected_vector")?.imageWithRenderingMode(UIImageRenderingMode.AlwaysOriginal)
checkInViewController.tabBarItem.selectedImage = UIImage(named:"check_icon_selected_vector")?.imageWithRenderingMode(UIImageRenderingMode.AlwaysOriginal)
Here is an image showing the black line:
I would like to remove the black line through the green icon
How do I remove the black line through the green icon?