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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.