In my program, I want to add a meeting schedule to the calendar. I use the following code:
let event = EKEvent(eventStore: self.eventStore)
event.title = title
event.startDate = startDate
event.endDate = endDate
event.isAllDay = allDay
event.notes = notes
event.location = url? .absoluteString
event.url = url
event.calendar = self.eventStore.defaultCalendarForNewEvents
event.alarms = alarms.map { EKAlarm(relativeOffset: $0) }
let editVC = EKEventEditViewController()
editVC.event = event
editVC.eventStore = self.eventStore
editVC.editViewDelegate = self
viewController.present(editVC, animated: true, completion: nil)
When opening the itinerary in the calendar, the join meeting button cannot appear. I couldn't find any method to set up meetings in EKEvent
Topic:
Business & Education
SubTopic:
General
Tags: