简体   繁体   English

在iOS中获取定期日历事件

[英]Fetch recurrence calendar event in ios

I can able to fetch calendar events for a day but what if I want to know next recurrence event? 我可以提取一天的日历事件,但是如果我想知道下一个重复事件怎么办?

Ex: There is a calendar event which is recursive i.es weekdays. 例如:有一个日历事件是递归的,即工作日。 Now when given a single date I will get many calendar event ,In that lets assume there is an event which is recursive, now I would require all the next calendar events related to that. 现在,当给定单个日期时,我将获得许多日历事件,在此假设有一个递归事件,现在,我将需要与此相关的所有下一个日历事件。

i.es If there is a calendar event on 13th which is Friday then the next event will be on Monday i.es 16th then then next 17th ... 即如果在星期五的13号有日历活动,则下一个活动将在星期一的16号,然后是下一个17号...

So I would like to know next 5 events of a recursive event. 所以我想知道递归事件的下5个事件。

Please let me know if you require more information 如果您需要更多信息,请告诉我

仅通过EkRecurrenceRule,读取属性并计算下一个事件才有可能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM