Modify behavior of 'Delete Event' action inside the 'Event Details' view

Hi,

I am developing an app which has a calendar integrated. This calendar comes from a package called CalendarKit (https://github.com/richardtop/CalendarKit ).

With this calendar you can access to all the events of you mobile integrated calendar and create new ones, modify them, delete, etc. All the events on you mobile calendar are going to be represented here and the same in the other way, everything that you create here will be represented on you mobile calendar.

So the main question is. How can i access to the 'Delete Event' action inside the 'Event Details' view?

I know that i can delete an event programmatically, but i need to "modify" the behavior when clicking on the item 'Delete Event'.

Is there any possible way to access to this item inside event details and when clicking on it do a custom action?. For example, when clicking i want to: print a text in the console, show an alert, get the EventID of the event deleted, etc.

Can somebody help me with this??

Thanks a lot in advance.

Additionally to this, it could help me too if there is any way to retrieve the eventID of the event deleted. There is any way to know this?. Maybe the last event deleted is stored somewhere or i even can get in the console the ID of the deleted one.

The idea at the end is get the ID of the event deleted, that will be the very helpful for me as well.

Modify behavior of 'Delete Event' action inside the 'Event Details' view
 
 
Q