简体   繁体   English

使用特定的calendarEventID创建EKEvent

[英]Create an EKEvent with specific calendarEventID

Is it possible to create an event in the calendar with a chosen identifier? 是否可以使用选定的标识符在日历中创建事件?

Thanks. 谢谢。

Check out the documentation for EKEvent.eventIdentifier, it clearly states that the property is generated and get-only . 查阅EKEvent.eventIdentifier的文档 ,其中明确指出该属性已生成且仅获取

If the calendar of an event changes, its identifier most likely changes as well. 如果事件的日历更改,则其标识符很可能也会更改。

It is not meant to be manipulated in any way, since it serves to identify each event uniquely. 并不意味着可以以任何方式进行操作 ,因为它可以唯一地标识每个事件。

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

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