Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

lg3

macrumors newbie
Original poster
Apr 16, 2012
6
0
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.
 
Creating an .ics file

Does anybody know the best route to take to create an .ics file in Xcode ?
 
Yes I am talking about a iCalendar Event. I am trying to attach the event to an email...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.