I am working on calendar application.
I am trying to add add new event in default iPhone calendar.In this case successfully added event,but start time always set 5.30 PM in default iPhone calendar how to solve this issue
Attached below piece of code,
let event = EKEvent(eventStore: store)
event.title = "calendar Name"
event.startDate = startDate //2016-05-19 00:00:00 +0000
event.endDate = endDate // 2016-05-19 23:59:59 +0000
event.calendar = store.defaultCalendarForNewEvents
do {
try store.saveEvent(event, span: .ThisEvent, commit: true)
} catch {
}