EKEventEditViewController do not show Add and Cancel buttons

Hello,

I am trying to add an event to the user default calendar however the Add and Cancel buttons are not shown in the navigation bar. The funny thing is that if I tap in the area where they are supposed to be the corresponding action gets triggered and everything works as expected. If I try to tap and hold in the same area I can briefly see the "Add" and "Cancel" texts too. See attached pics. The code I use to present the VC is as follows:

    @objc func showAddEvent(){
        let event = EKEvent.init(eventStore: self.eventStore)
        event.title = "Climbro workout"
        let now = Date()
        event.startDate = now
        event.endDate = now.addingTimeInterval(3600)
        let eventController = EKEventEditViewController()
        eventController.event = event
        eventController.eventStore = self.eventStore
        eventController.editViewDelegate = self
        eventController.modalPresentationStyle = .fullScreen

        let keyWindow = UIApplication.shared.windows.filter {$0.isKeyWindow}.first
        if var topController = keyWindow?.rootViewController {
            while let presentedViewController = topController.presentedViewController {
                topController = presentedViewController
            }
            topController.present(eventController, animated: true, completion: nil)
        }
    }

The iOS target version is 12.0. I've tried with 13.0 and 14.0 and same issue.

A ny help would be very appriciated. Thank you!

EKEventEditViewController do not show Add and Cancel buttons
 
 
Q