Re: iOS 6 EKEvent calendar access process
Re: iOS 6 EKEvent calendar access process
- Subject: Re: iOS 6 EKEvent calendar access process
- From: Alex Kac <email@hidden>
- Date: Thu, 21 Mar 2013 10:06:52 -0600
There is no such thing as a private calendar. Your intentions don't actually matter - if you want access to the Calendar API, that means access to all calendar data.
You have two choices:
1) Create your own calendar API/data store. That is the only true way to make it invisible to the user.
2) Use the iOS EK APIs. The calendars will be visible to the user and you need to ask permission.
On Mar 21, 2013, at 9:53 AM, Alex Zavatone <email@hidden> wrote:
> I'm creating an iOS program that uses a custom local calendar to display contents based on calendar events.
>
> With that in mind, I thought it best to use a local calendar just for this app, creating it and deleting it as needed, so as not to mess with any other calendars on the device.
>
> Since I'm creating the calendar within the app, am I still required to ask the user for permission to modify it to delete and add records?
>
> It doesn't appear that iOS 6.1 allows creation of an EKEventStore, or a calendar within the app's domain that has R/W access to its contents.
>
> Is this case? Must we prompt the user for access to a locally calendar that they should never see?
>
> TIA.
>
Alex Kac - President and Founder
Web Information Solutions, Inc.
"Forgiveness is not an occasional act: it is a permanent attitude."
-- Dr. Martin Luther King
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden