Search code examples
ios5ekeventkitekevent

EKEventEditViewController, prefill title and location


How to prefill title and location for created event in EKEventEditViewController?

Should I create EKEvent programmatically first, and then edit it? In this case how to delete it if user touched cancel?


Solution

  • The answer is: create EKEvent programmatically first, and then edit it.

    It works.