当我为日历创建新EKEvent日历时,我注意到会自动添加9活动当天的警报广告,我该如何设置否alarm?我试过这样:
EKEvent *event = [EKEvent eventWithEventStore:eventStore];
event.titile = @"This is an event";
event.calendar = calendar;
event.alarms = nil; //in this way don't work...
但不起作用,在日历中我看到警报你如何看到:

任何人都知道我如何在没有警报的情况下添加 EKEvent?