Continuity Camera for macOS and iOS

家住魔仙堡 提交于 2019-12-04 09:58:44

问题


In macOS Mojave the continuity camera was introduced. Letting the user take pictures on the iPhone or iPad right into an application on the mac such as Notes, Messages, Keynote, Mail and TextEdit.

Is this functionality available for third party developers.

https://www.apple.com/macos/mojave/

Continuity Camera

Take a photo right to your Mac. Now you can use your iPhone to shoot or scan a nearby object or document and have it automatically appear on your Mac. Just choose Insert a Photo from the File menu. You can take a photo of something on your desk and instantly see it in your Pages document. Or scan a receipt, and a straightened version is immediately available in the Finder as a PDF. Continuity Camera works in the Finder, Mail, Messages, Notes, Pages, Keynote, and Numbers. It’s another way iPhone and Mac just click.


回答1:


You need to use validRequestorForSendType:returnType:. More info in WWDC 2018 Session 209 around minute 36.



来源:https://stackoverflow.com/questions/52527491/continuity-camera-for-macos-and-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!