I have a basic app with a list view with manualy added cells.
How would i make it so that when a cell is clicked , a specific date is added to the iphone calendar?
Info – using latest xcode with storyboards
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should have a delegate for you list view that response to the
UITableViewDelegateprotocol. BytableView:didSelectRowAtIndexPath:you can catch the click to your cell.Then, use
EKEventStoreclass to access your calendar. Your appointment is represented by anEKEvent.EDIT
For more information you should consult the Introduction to Calendars and Reminders, Event Kit Framework Reference, and Table View Programming Guide.
This is the general approach, for a more detailed description you should tell, what your issues are and what did you try. Nobody at SO will write the program for you.