I present my Calendar Chooser as shown below:
let calendarChooser = EKCalendarChooser(selectionStyle: .single,
displayStyle: .writableCalendarsOnly,
entityType: .event,
eventStore: eventStore)
calendarChooser.showsDoneButton = true
calendarChooser.showsCancelButton = true
let navigationController = UINavigationController(rootViewController: calendarChooser)
navigationController.view.tintColor = .orange // change color of navigation controller buttons
self.present(navigationController, animated: true, completion: nil)
I change the color of the navigation controller buttons Cancel (top left), Done (top right) and Add Calendar (bottom left). In fact I do not need the Add calendar feature. I tried hidesBottomBarWhenPushed = false and tabBarItem = nil on navigation controller and calendar chooser. No joy.
Question 1: Is it possible to remove the Add calendar button?
If I cannot remove Add Calendar button, I would like at least to change the color of its Cancel button (top left) to orange as well (it shows default blue).
Question 2: How can I change the color of the Cancel button shown on Add calendar controller?

