iOS 中的核心数据 Spotlight 集成

发布于 2024-10-01 20:56:45 字数 234 浏览 0 评论 0原文

我正在开发一个ios(3.1.3)应用程序来管理联系人、任务、活动等。这些模型由核心数据管理,并且运行良好。现在我想让所有这些项目都可以在 iOS 的聚光灯搜索栏中搜索。

这可能吗?

如果是这样,如何编码?我找到了“Core Data Spotlight集成编程指南”,但它不适合iOS,而且我没有找到与我想要的相关的任何文档或教程。

有什么想法、建议吗?或完整解决方案! :D

提前致谢!

I'm developping an ios (3.1.3) application to manage contacts, tasks, activities, etc. These models are managed by core data and it works very well. Now I want to make all these items searchable in the spotlight search bar in iOS.

Is that possible?

And if so, how to code it? I found the "Core Data Spotlight Integration Programming Guide" but it's not suitable for iOS and I don't find any document or tutorial related to what I want.

Any ideas, suggestions? or full solution! :D

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

再见回来 2024-10-08 20:56:46

如果我没记错的话,跨越所有应用程序的全局搜索是 PalmOS 的一项核心功能,可以追溯到 PalmOS 2.0 版。然而即使在今天,苹果的 iOS Spotlight 搜索仍然只支持苹果提供的内置应用程序。

遗憾的是,苹果尚未向开发者开放这一功能——这将使 Spotlight 在 iPhone 和 iPad 上变得更加有用。

Global search spanning all apps was a core feature of PalmOS going way back to PalmOS version 2.0, if I recall correctly. Yet even today, Apple's iOS Spotlight Search still only supports the built in apps provided by Apple.

It is shameful that Apple hasn't opened this up to developers yet - it would make Spotlight so much more useful on the iPhone and iPad.

淤浪 2024-10-08 20:56:45

从 iOS 9 开始,这将成为可能。
Apple 刚刚在 WWDC 2015 上发布了 CoreSpotlight 框架,通过集成,可以在第三方应用程序等中搜索内容。

文档

This will be possible from iOS 9 onwards.
Apple just released a CoreSpotlight framework at WWDC 2015, and with integration its possible to search contents within third party apps and much more.

Documentation

你是年少的欢喜 2024-10-08 20:56:45

目前您无法将您的应用程序与 iOS 中的 Spotlight 集成,没有 API 可以执行此操作。

您可以归档雷达并希望在 iOS 5 中使用新的 Spotlight API 吗?

You cannot integrate your application with Spotlight in iOS for now, there's no API to do it.

You can file a radar and wish an new Spotlight API in iOS 5?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文