I have tried to open the native iOS
calendar app from within my app using the following code:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"calshow://"]];
The above code works perfectly in iOS 7
and I am able to view my calendar app,
but, the code does not work in an iOS 6.1
simulator.
I guess it is not supported in iOS 6.1
.
Please do provide any suggestions or workarounds for this.
Thanks !
PS: Yes, I'm aware of the features of the EventKit(UI) frameworks. But I'd like to specifically open the iCal app.
and
Yes I went through the
stackoverflow answer.
Simulator doesn't have a Calendar app. You can only do it on actual device.