alarm_calendar icon indicating copy to clipboard operation
alarm_calendar copied to clipboard

iOS端提醒时间被写死

Open flowerQiang opened this issue 4 years ago • 1 comments

版本号0.0.5 可修改为

// 添加闹钟结合(开始前多少秒)若为正则是开始后多少秒。 NSArray *arrAlert = dic[@"alert"]; for (int i = 0;i<arrAlert.count;i++) { EKAlarm *elarm = [EKAlarm alarmWithRelativeOffset:-[arrAlert[i] intValue]*60]; [event addAlarm:elarm]; }

flowerQiang avatar Aug 31 '21 02:08 flowerQiang

开始前?

CodeGather avatar Sep 10 '21 01:09 CodeGather