Michael S
Michael S

Reputation: 769

Open iphone calendar app programmatically

I'd like to open the iphone calendar app programmatically from within my app. According to this post: How to open the iPhone calendar from within my app? it isn't possible (May 22 2010!). Maybe the ios sdk 4 or ios sdk 5 support such a feature?

Upvotes: 8

Views: 7163

Answers (2)

Saeed-rz
Saeed-rz

Reputation: 1443

use this line to open ios calendar :

[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"calshow://"]];

Upvotes: 3

omz
omz

Reputation: 53551

It's not possible, except for using UIDocumentInteractionController with an .ical file, but that's pretty pointless as you could achieve the same (adding an event) by using Event Kit.

Upvotes: 4

Related Questions