• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: iOS Calendar Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: iOS Calendar Question


  • Subject: Re: iOS Calendar Question
  • From: Dave <email@hidden>
  • Date: Wed, 02 Oct 2013 18:44:58 +0100

On 1 Oct 2013, at 18:26, Marcel Weiher <email@hidden> wrote:

>
> On Oct 1, 2013, at 13:02 , Dave <email@hidden> wrote:
>
>>
>> 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?
>
> As far as I can tell, that link delivers an ics file, “event.ics”, which is then opened automatically by the OS (also happens for ics attachments in Mail).  Since this only writes to the calendar and the original stink that caused restrictions was about reading calendar/address book info and uploading that to a server, I guess Apple finds that OK.
>
> Now I don’t remember any sanctioned ways to open a file without user interaction, so this might not actually help you...
>
> Marcel
>
>
> —— snip ——
> BEGIN:VCALENDAR
> VERSION:2.0
> CALSCALE:GREGORIAN
> PRODID:-//hacksw/handcal//NONSGML v1.0//EN
> METHOD:PUBLISH
> BEGIN:VEVENT
> DTSTART;VALUE=DATE:20131005
> DTEND;VALUE=DATE:20131006
> SUMMARY:Policing Through the Ages
> LOCATION:Gunwharf Quays
> DESCRIPTION:Policing Through the Ages  - http://m.gunwharf-quays.com/whats-on/policing-through-ages
> URL:http://m.gunwharf-quays.com/whats-on/policing-through-ages
> END:VEVENT
> END:VCALENDAR
> —— snip ——

So, I could send a pre-made .ics file to Safari?

Dave


_______________________________________________

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


  • Follow-Ups:
    • Re: iOS Calendar Question
      • From: Marcel Weiher <email@hidden>
    • Re: iOS Calendar Question
      • From: Alex Kac <email@hidden>
References: 
 >Re: iOS Calendar Question (From: Dave <email@hidden>)
 >Re: iOS Calendar Question (From: Marcel Weiher <email@hidden>)

  • Prev by Date: Re: iOS Calendar Question
  • Next by Date: Re: App never reaches applicationDidFinishLaunching method
  • Previous by thread: Re: iOS Calendar Question
  • Next by thread: Re: iOS Calendar Question
  • Index(es):
    • Date
    • Thread