其中的 [Handoff] 可以讓你將工作從電腦與行動裝置之間無痛接續,WWDC 2014 也有指導你如何加入這樣的機制。
基本上需要這兩項:
- BTLE
- NSUserActivity
你可以參考 Handoff Programming Guide
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffFundamentals/HandoffFundamentals.html
也可以參考 WWDC 2014
https://developer.apple.com/videos/wwdc/2014/?id=219
著名的 Raywenderlich 也有教學 iOS 8 Handoff Tutorial
http://www.raywenderlich.com/84174/ios-8-handoff-tutorial
其他參考資源:
Tutorial: A Step-By-Step Guide To Programming The Handoff Feature In iOS 8
https://maniacdev.com/2014/12/tutorial-a-step-by-step-guide-to-programming-the-handoff-feature-in-ios-8
Working with Handoff in iOS 8
http://www.appcoda.com/handoff/
Working with iOS 8 Handoff Part 2: Using Continuation Streams
http://www.appcoda.com/handoff-continuation-streams/
.
沒有留言:
張貼留言