Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 870163
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T10:25:31+00:00 2026-05-15T10:25:31+00:00

In my iPhone app, I have this button, that opens a webcal:// URL in

  • 0

In my iPhone app, I have this button, that opens a webcal:// URL in a UIWebView as follows:

#define kHostName @"webcal://www.markthisdate.com/kalender/World_Cup_Football_2010_Match_Schedule_10251.ics"

    - (IBAction)putInCalendar:(id)sender{
     NSURL *url = NULL;
     url = [[NSURL alloc] initWithString:kHostName];
     NSURLRequest *request = [[NSURLRequest alloc] initWithURL: url];
     [webView loadRequest: request];
     [request release];
     [url release];
    }

In iOS 3.x, this triggers a sequence of dialogs “Subscribe to calendar….” etc, similar to what happens if you would open the same URL in Mobile Safari: the associated event is added as a subscription to the iPhone’s calendar.

Somehow, in iOS 4.0, this doesn’t work from within my app, although opening the URL in Mobile Safari in iOS 4.0 DOES work.

Can anyone explain to me why this is not working, but even better: what would be the proper iOS 4.x approach to this functionality.

I had a look at the newly Event Kit that has been added to 4.0, because that seems to be dealing with these kind of things; the documentation on Event Kit however is pretty meager, and I haven’t been able to find any sample projects using Event Kit.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T10:25:32+00:00Added an answer on May 15, 2026 at 10:25 am

    This has been acknowledged as a bug by Apple, and I have filed it as such. There is currently no workaround….

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UIWebView in my iPhone app that have a web page with
I have an iphone app that when touching a button should push a text
I´m making an app on iphone and i have a button that links to
I have an iPhone App that opens an UIAlertView with an UITextInput field and
Please give me some tips for this case. I have an iPhone APP which
I'm creating an iPhone app that will have a preloaded set of locations with
I currently have an iPhone app that lets the users take video, upload it
I have a UIViewController called LaunchController that is launched in my iPhone app when
I have a small iPhone app which has a button on the first view.
I have an iPhone app problem that's been bugging me for a few days

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.