我找到了从我的应用程序打开日历的示例代码,但我无法在特定日期打开.
NSString* launchUrl = @"calshow://";
[[UIApplication sharedApplication] openURL:[NSURL URLWithString: launchUrl]];
Run Code Online (Sandbox Code Playgroud)
有没有办法在"lunchUrl"字符串的末尾添加特定日期,因此当用户打开日历时,它会显示给定的日期.
我已经尝试过以下格式:@"calshow://?= 2013 12 19",@"calshow://?= 2013-12-19",@"calshow://?= 2013 + 12 + 19" .这些似乎都不适合我...任何想法我在做错什么?