iOS应用搜索
2016-07-19 00:00
537 查看
应用搜索有三个不同但相关的api。他们为使不同的应用程序用例设计搜索。 App Search has three APIs that are distinct but related. They're designed for enabling different use cases of App Search.
第一个是NSUserActivity
The first one is NSUserActivity. This is an extension of the Handoff API that we released in iOS 8.
第二个是CoreSpotlight
The second API is called CoreSpotlight.
第三个是web标记
Third API is web markup.
Handoff 切换
NSUserActivity was introduced in iOS 8 to support Handoff. Handoff is the amazing feature that allows you to start an activity on one device and pick up right where you left off on another. NSUserActivity is a lightweight way to capture application state which can be restored later.
切换是神奇的特性,它允许您启动一个活动在一台设备上,从你离开的地方。NSUserActivity捕获应用程序状态是一个轻量级方法后可以恢复。
http://www.cocoachina.com/ios/20150409/11515.html
search api
第一个是NSUserActivity
The first one is NSUserActivity. This is an extension of the Handoff API that we released in iOS 8.
第二个是CoreSpotlight
The second API is called CoreSpotlight.
第三个是web标记
Third API is web markup.
Handoff 切换
NSUserActivity was introduced in iOS 8 to support Handoff. Handoff is the amazing feature that allows you to start an activity on one device and pick up right where you left off on another. NSUserActivity is a lightweight way to capture application state which can be restored later.
切换是神奇的特性,它允许您启动一个活动在一台设备上,从你离开的地方。NSUserActivity捕获应用程序状态是一个轻量级方法后可以恢复。
http://www.cocoachina.com/ios/20150409/11515.html
Handoff:沟通iOS应用和网页
http://code.tutsplus.com/tutorials/an-introduction-to-handoff--cms-24349Handoff
http://www.cocoachina.com/ios/20150819/13116.htmlsearch api
相关文章推荐
- iOS开发之Masonry框架源码深度解析
- iOS开发之NSURLProtocol的那些坑
- iOS Core Graphics封装虚线
- iOS socket小结01
- 自定义nagios监控脚本
- iOS多线程的初步研究(九)-- dispatch源
- iOS一些常用动画总结
- iOS基础:手势
- iOS-模糊搜索功能实现
- iOS多线程——初步使用GCD中的Context
- iOS Crash之NSGenericException
- IOS-内存管理
- ios笔记整理
- ARC(二) ARC规则
- 【链接】IOS提交私有Framework和Bundle资源时提示ITMS-9016
- iOS Crash之NSRangeException
- iOS SDK:iOS调试技巧
- iOS之 在iOS中调用HTML
- iOS Crash之NSFileHandleOperationException
- iOS-自定义TabBar