Calendar event attached to email

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

  1. lg3 macrumors newbie

    Joined:
    Apr 16, 2012
    #1
    Hi
    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
    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

    Joined:
    Apr 16, 2012
    #2
    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

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

    Joined:
    Mar 20, 2006
  6. ArtOfWarfare macrumors 604

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #6
    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

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #7

Share This Page