I have an event that has a meet or zoom link. However, I can't find a way to get the link of type https://meet.google.com/.... An example:
let calendars = eventStore.calendars(for: .event)
var events: [EKEvent] = []
for calendar in calendars {
let oneMonthAfter = Date(timeIntervalSinceNow: 30*24*3600)
let predicate = eventStore.predicateForEvents(withStart: Date(), end: oneMonthAfter, calendars: [calendar])
let collection = eventStore.events(matching: predicate)
events.append(contentsOf: collection)
}
let event = events.first! // This event has a meet link associated but I can't get the link
EventKit has a class named EKVirtualConferenceURLDescriptor (more info here). However, the documentation isn't good and only talks about creating a new one, not how we can get it from an existing event.