Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

苹果在iOS 14中新增加了一个名为 "Clips "的API #29

Open
ChenYilong opened this issue May 10, 2020 · 0 comments
Open

苹果在iOS 14中新增加了一个名为 "Clips "的API #29

ChenYilong opened this issue May 10, 2020 · 0 comments

Comments

@ChenYilong
Copy link
Owner

ChenYilong commented May 10, 2020

  • 更新:[2020-06-23 03:26:21]
  • 注意:查看正文前,请先查看文末的评论,以确认是否有勘误。

本文提到的开发者测试版本(尝鲜版),今天就可以下载,普通用户等秋季吧。

IMAGE

iOS能否抢走微信小程序三分之一的用户?

IMAGE

WWDC20苹果推出了一个新交互,在系统级别中提供三方应用的特定一部分,而无需完整安装应用。该功能将可以让用户扫描二维码就体验某款应用的部分功能。而这个功能和微信小程序极为相似,按照安卓与iOS 2:1 的比例,iOS 可能会抢走微信小程序三分之一的用户。

理由是

互联网现在的争夺战聚焦在了入口之争,Apple clips的优势就是相机入口优势。微信扫码比Apple clips 链路要长一点。

那么iOS能否办到?

如果做起来,仅仅是美团、饿了么等第三产业大厂支持的情况下,就可以办到。

iOS 已经布局了 Apple pay, 以及 Apple 账号登陆,基于此,微信有的优势,iOS系统全部都拥有。可别忘了,iOS是强制要求 app 支持了 Apple 登陆。

想象一个场景,饭店的桌角贴着 APPLE 家的二维码,打开iPhone扫一扫,不需要跳转到美团、微信就可以点餐,不需要手机号登陆,直接使用 Apple ID 就可以登陆美团,Apple Pay就可以付款。

也许可以说:

苹果要求6/30之前所有App都要支持苹果登录可能就是在给它铺路!

Apple ID 登陆账户已经超过2个亿:

https://github.com/ChenYilong

纵观iOS的生活支付场景,有的小伙伴坦言:

  • 在生活中,自从有了NFC系统级本地刷公交车 我从未用过小程序, App clips能够提供Native的体验的话 真的懒得去开小程序了,期待ing。
  • 比如国务院那个通行码, - 我都宁可下个App我也懒得用小程序每次收验证码。

下面详细介绍下Clips

Clips 介绍

在 iOS14 以前,如果你从 iOS 设备上尝试打开一个 APP 的活动链接或扫描同样内容二维码,如果你的设备没安装过这个 APP,链接内容将只在 Safari 中展示。

https://github.com/ChenYilong/iOSBlog/issues/29

同时,应用程序也将提供通用链接,当安装该应用程序时,它可以代替系统浏览器打开该 APP。但该情况可能在 iOS14 中发生改变,在 iOS 14 中发现了一个全新的接口,内部命名为 "Clips"。
https://github.com/ChenYilong/iOSBlog/issues/29

该交互可让开发者在没有完整安装应用的情形下也能提供交互和动态展示内容。Clips 与 iOS14 构建版本中的二维码阅读器(QR Code Reader)直接相关,使用者可通过扫描一个与 App 相关的🔗链接,然后直接从屏幕上出现的卡片上进行互动。

假设你从油管上获得了一个链接,比如说视频的二维码,但你的 iOS 设备上未安装 Youtube 的 APP。有了 iOS 14 的 Clips 接口,就完全可以扫描该链接🔗,视频就会在浮动卡上重现,并显示 native 原生用户界面而非网页。

iOS系统甚至还提供了类似于微信小程序的“最近打开的小程序”菜单,方便用户无需扫码即可查看:

https://github.com/ChenYilong/iOSBlog/issues/29

这里需要注意⚠️ 开发者需定义好应用的哪个模块部分应该被 iOS 下载为 OTA包(Over-The-Air)来进行读取。

并且对包大小做了限制:

https://github.com/ChenYilong/iOSBlog/issues/29

系统级别的浮动卡会提示从 Apple 应用商店下载完整版本的应用,或者如果判断出已经安装了应用,则会显示选项按钮来打开该内容。

Android 安卓手机有一个类似的功能,叫 "Slices",可以在 Google 搜索结果和 Google 助手等地方显示应用的交互部分,所以我们也可以想象这样的整合:Clips API 就是 iOS 版本的 Spotlight。

但 iOS 14 代码中只提到通过二维码来实现。所以也可能相比 Android 的Slice,Clips API更像是微信小程序。

用完即走的设计理念,和微信小程序极为相似:

https://github.com/ChenYilong/iOSBlog/issues/29

https://github.com/ChenYilong/iOSBlog/issues/29

macOS能跑iOS程序

iOS生态迁移到macOS,两年后 Mac上刷抖音、吃鸡(mac 刺激战场?外设是个问题?)不是梦。

https://github.com/ChenYilong

Rosetta 2

https://github.com/ChenYilong/iOSBlog/issues/29

macOS上直接跑iOS程序

https://github.com/ChenYilong/iOSBlog/issues/29

并非近期规划,而是两年的规划
为开发者提供了专属开发硬件用来适配

https://github.com/ChenYilong/iOSBlog/issues/29

专属os
https://github.com/ChenYilong/iOSBlog/issues/29

为了上述的生态迁移,Apple 打算抛弃 Intel 芯片,改用自家的芯片:

有小伙伴评价说:想想打包的时候,不用再烦x86,挺好。

https://github.com/ChenYilong

https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29

不过可能生态迁移需要等一等:

https://github.com/ChenYilong/iOSBlog/issues/29

更加严格的隐私策略

道高一尺,魔高一丈。以后开发者用定位、后台保活的,用户都会知道。目前市面上太多app了,运用不太规范的后台保活策略。PS:看来: Google 和 fb 又要想办法了。

https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29
https://github.com/ChenYilong/iOSBlog/issues/29

Widgets iOS 和 macOS上成为重要交互组件。

https://github.com/ChenYilong

Message 加了群聊功能

Apple开始这次开始给 Message 加了群聊功能,想做成:微信、WhatsApp、tg。

https://github.com/ChenYilong

可以艾特群成员。

https://github.com/ChenYilong

谁最活跃,谁头像最大。这个设定很有趣。

https://github.com/ChenYilong

Apple map 加入了非机动车导航模式

国内开车导航的人少,Apple map 一直没有流行,这次加入了非机动车导航模式,还支持了中国,贴心得加入限行的策略提示:

https://github.com/ChenYilong

https://github.com/ChenYilong

iPhone 可以当车钥匙

可惜就只有一款BMW的车支持。(我总不能因为手机去买辆新车吧。。。)

AirPods pro 提供沉浸式体验。

耳机同时连接多个设备,

https://github.com/ChenYilong

macOS越来越像iOS了

https://github.com/ChenYilong

https://github.com/ChenYilong

https://github.com/ChenYilong

尤其这个控制中心,太iOS了。

https://github.com/ChenYilong

macOS 的 Safari 性能超过 Chrome

开始推插件了,卖点是安全🔐。隐私保护。dockduckgo的思路。不过大部分开发者不用 safri ,是因为 dev tool 不好用。期待将来完善。

还加入了类似 chrome的页面翻译功能

https://github.com/ChenYilong

https://github.com/ChenYilong

https://github.com/ChenYilong

Apple 芯片的历史时刻

Apple 对自家芯片的历史时刻做了回顾,有兴趣可以翻看下:

https://github.com/ChenYilong

原文链接:#29

听说点击一次“在看”

iOS14 适配工作就少一项

“在看”👇👇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant