• 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: Marcel Weiher <email@hidden>
  • Date: Tue, 01 Oct 2013 19:26:14 +0200

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 ——



_______________________________________________

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: Dave <email@hidden>
References: 
 >Re: iOS Calendar Question (From: Dave <email@hidden>)

  • Prev by Date: Cursor - Unable to use retina image
  • Next by Date: NSOutlineView cell size 8 pixels too narrow
  • Previous by thread: Re: iOS Calendar Question
  • Next by thread: Re: iOS Calendar Question
  • Index(es):
    • Date
    • Thread