Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open the iPhone calendar from within my app?

I want to be able to implement a button in my app, that quits my app, and takes the user to the iPhone's calendar. I'm not interested in sending the user to a specific event. Just opening up the calendar would do the trick. Any suggestions?

like image 242
Sjakelien Avatar asked Dec 08 '22 03:12

Sjakelien


2 Answers

Hey might be a late answer but you can do it now like this

 [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"calshow://"]];
like image 60
9to5ios Avatar answered Dec 18 '22 18:12

9to5ios


According to the comments on this blog post, there is currently no way to launch the calendar app.

like image 45
cem Avatar answered Dec 18 '22 17:12

cem