几篇有意思的2020 WWDC Session(2)

689 阅读2分钟

WWDC

近期在关注2020 WWDC,这段时间会定期和大家分享一些笔者今年看到的比较有意思的Session主题~

在上一篇分享《几篇有意思的2020 WWDC Session(1)》中,我们聊到了与App Clips、Apple Silicon、WidgetKit、CarKeys相关的几篇Session,今天我们继续来聊一聊另外两篇比较有意思的Session。

0x06 近距离通信交互

NI with U1

Session9:Meet Nearby Interactions

https://developer.apple.com/videos/play/wwdc2020/10668/

The Nearby Interaction framework streams distance and direction between opted-in Apple devices containing the U1 chip. Discover how this powerful combination of hardware and software allow you to create intuitive spatial interactions based on the relative position of two or more devices. We'll walk you through this session-based API and show you how to deliver entirely new interactive experiences — all with privacy in mind.

秀才点评:

接口非常简单,重要的是玩法。我敢说社交APP很快会用它来做近距离通信与交友约*。

首先,你的iPhone手机要有一颗U1芯片,这颗芯片具有精细度很高的空间感知能力,能感知方向和距离,也就是说你的手机能知道另一个手机或设备的方向和位置。

与Apple的生态整合以后,这也会极大地增强AirTags和ARKit的想象空间,房间里找手机,找钥匙等等等,一些近距离通信交互的游戏,一个房间里的互动教学等,是时候去发挥一些想象力了。

Air Tags

0x07 ReplayKit在iOS和macOS上要统一了?

ReplayKit

Session10:Capture and stream apps on the Mac with ReplayKit

https://developer.apple.com/videos/play/wwdc2020/10633/

Learn how you can integrate ReplayKit into your Mac apps and games to easily share screen recordings or broadcast live audio and visuals online. We'll show you how to capture screen content, audio, and microphone input inside your Mac apps, and even broadcast your video to a live audience. For more on getting started with this framework in your app, be sure to see “Live Screen Broadcast with ReplayKit” and "What's New with Screen Recording and Live Broadcast" from previous years.

秀才点评:

从ReplayKit到ReplayKit2,再到2020年的ReplayKit on Mac,得益于底层芯片和系统架构的趋于统一,Apple家族设备的录屏也要准备大一统了。

游戏直播,传屏,录课等应用场景在iPhone,Mac上以后可能可以复用同一份代码了~

欢迎大家留言交流