Hello!
I have the flight tracking app and I want to integrate Drag and Drop so the user can drag the flight to Calendar app and create the event / reminder.
I've tried to use `public.calendar-event` as an identifier along with data string according to iCal format (VCALENDAR / VEVENT etc) but the standard Calendar app doesn't seem to accept it.
I've tried to drag the event from Calendar app and figured out that it declares the following providers:
"com.apple.eventkit.internal",
"com.apple.calendar.ics",
"com.apple.ical.ics",
"com.apple.uikit.useractivity",
"public.utf8-plain-text",
"public.utf16-plain-text"
Seems like
"com.apple.calendar.ics"
"com.apple.ical.ics"
exporting iCal formatted data with event details.
I've then tried to create NSItemProvider with there identifiers and drag-drop the data to Calendar but it doesn't seem to accept it.
Is it possible to drag-drop data to Calendar app in order to create event? If so, what UTI should be used and what data should be included in NSItemProvider.
Thanks in advance.