Calendar event attached to email

Discussion in 'iOS Programming' started by lg3, May 13, 2012.

  1. lg3 macrumors newbie

    Apr 16, 2012
    I am wondering how to attach a calendar event to an email in xcode...

    I created an EKEventStore and then added a EK Event in that event store.
    I am trying to add the event to the email using this code
            [controller addAttachmentData:myData mimeType:@"fileType" fileName:eventStartDateTitle];
    My question is how can I take the EKEvent and put it into an object that will be compatible with addAttachmentData.
  2. lg3 thread starter macrumors newbie

    Apr 16, 2012
    Creating an .ics file

    Does anybody know the best route to take to create an .ics file in Xcode ?
  3. ArtOfWarfare, May 14, 2012
    Last edited by a moderator: May 14, 2012
  4. lg3 thread starter macrumors newbie

    Apr 16, 2012
    Yes I am talking about a iCalendar Event. I am trying to attach the event to an email...
  5. cMacSW macrumors regular

    Mar 20, 2006
  6. ArtOfWarfare macrumors G3


    Nov 26, 2007
    Unless I'm misunderstanding something, the OP appears to have been banned from the forums... Not sure if there's much reason to try helping anymore. (Are bans from MacRumor's forums temporary or forever?)
  7. dejo Moderator


    Staff Member

    Sep 2, 2004
    The Centennial State

Share This Page