如何知道用户是否配置了邮件应用程序?
如果用户尚未配置用于电子邮件使用的应用程序,我想禁用我的应用程序中的图标 - 例如,他们可以通过浏览器使用网络邮件。我怎么知道这个?
如果没有应用程序准备好处理,当收到使用 @"mailTo:..."
字符串创建的 NSURL
时,NSWorkspace openURL:
是否会默默失败它?
I'd like to disable an icon in my app if the user has not configured an application for email use -- as in, they could be using webmail with a browser. How can I know this?
Does NSWorkspace openURL:
just fail silently when handed an NSURL
created with @"mailTo:..."
string if no app is ready to handle it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论