似乎很简单,但我无法完成这项工作。.我想从本机应用程序启动本机提醒应用程序。
从我已阅读的内容中,我需要使用x-apple-reminder://
URL方案,但它不会启动Reminders应用程序。
这是我的代码:
NSString* reminderUrl = @"x-apple-reminder://";
NSURL *url = [NSURL URLWithString:reminderUrl];
BOOL ok = [[UIApplication sharedApplication] openURL:url];
ok
永远都NO
不会发生
我还尝试传递提醒的ID(我的应用创建了它),但这没有用。(如x-apple-reminder://REMINDER_GUID
)
我怀疑我的问题出在openURL
电话上..还有其他选择吗?
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句