Re: iOS 6 EKEvent calendar access process
Re: iOS 6 EKEvent calendar access process
- Subject: Re: iOS 6 EKEvent calendar access process
- From: Alex Zavatone <email@hidden>
- Date: Thu, 21 Mar 2013 14:02:13 -0400
So, iOS 6 grants you access to all calendars or none of them and that's it?
In reading the documentation and in the request message on iOS 6, what I'd read implied that you could be granted access to the one calendar you wish to access. I guess not.
Wow. Looking over requestAccestToEntityType:completion: It appears that calendar access is indeed an all or none event.
In that case, an NSArray or NSDictionary that holds NSDate objects seems like much less of a hassle.
Thanks for clarifying that. I'm pulling calendars out of the picture completely.
On Mar 21, 2013, at 12:06 PM, Alex Kac wrote:
> 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