I have a scenario where the user clicks on a UIButton and the event is automatically added to the my iCal. after importing the #import framework and adding the EKEventEditViewDelegate , how should I have to add the event start date and title etc. All this info is downloaded from the server as text file. Is there any functions that can help me set event date time and title?
I shouldn’t opening the EventsViewController but do it in the backend. Any suggestions?
I have a scenario where the user clicks on a UIButton and the event
Share
I just set
EKEventstartDateandendDate. I don’t know what you mean “do it in the backend”…If you want to convert the date strings from your server into
NSDateobjects,NSDateFormattergenerally does the job (assuming the server date text strings are in a well defined format). E.g., it might work something like: