Re: iOS Calendar Question
Re: iOS Calendar Question
- Subject: Re: iOS Calendar Question
- From: Mike Abdullah <email@hidden>
- Date: Tue, 01 Oct 2013 14:18:16 +0100
On 1 Oct 2013, at 14:04, Mike Abdullah <email@hidden> wrote:
>
> On 1 Oct 2013, at 14:00, Dave <email@hidden> wrote:
>
>>
>> On 1 Oct 2013, at 12:27, Roland King <email@hidden> wrote:
>>
>>>
>>> On 1 Oct, 2013, at 7:02 pm, Dave <email@hidden> wrote:
>>>
>>>> Hi All,
>>>>
>>>> This had reared it's ugly head again! I have been asked to add an event to the Calendar WITHOUT asking the user for permission as the Standard Manner. I basically said it couldn't be done based on feedback from here. However, I've was today shown this (See link below) and asked "if they can do it, why can't you?".
>>>>
>>>> http://m.gunwharf-quays.com/whats-on/policing-through-ages
>>>>
>>>> If you open the above link on an iPhone and then click the Add to Calendar button, you will that it appears to add an event to the calendar WITHOUT asking the user for permission! How does it manage to do it? I thought that the OS would intercept any Calendar access calls and show the Alert Box and ask the user for permission to access the Calendar, but this doesn't seem to be the case here. Is this because it's being run in Safari? Can I get the same behaviour from an iOS Native App?
>>>>
>>>
>>> Yes probably because it's Safari which is trusted and the user clicking the link is enough intent (and because it's Safari and Apple wrote it they get to determine what constitutes user-intent).
>>>
>>> No you can't get that in a native iOS application. The user must consent to any native non-Apple application accessing the calendar.
>>
>> So, what's stopping me or anyone else, running this in a Web View? That would get around it, wouldn't it?
>
> Feel free to try it. I suspect Apple's developers won't have been that naïve though…
>
A quick try in TweetBot finds that link does nothing. Safari is performing special handling of the calendar event.
_______________________________________________
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