日前,有工程师从 iOS14 泄漏代码中发现一个名为 Clips 的新 API,这个 API 允许用户在未安装的情况下,直接体验新应用的部分功能。打个比方,目前如果我们扫描一些未安装应用的二维码后,系统会引导我们前往 App Store 进行下载。而有了 Clips 这个新 API 后,扫描二维码,系统会直接出现一个卡片,在该卡片可以让用户在上面进行简单的交互,体验该应用的部分功能,然后再决定是否下载,减少了操作的复杂度。
实际上,在 Android 上也有一个类似的名为 Slices 的功能,该功能允许用户在 Goolge 搜索的结果中通过卡片的形式进行交互。工程师还在 iOS 14 的代码中发现,苹果已经把 Clips API 放在了 YouTube、PS4 Second Screen 等应用上进行测试,预计会在今年的 WWDC 上正式亮相。
来源9TO5mac
( ! ) Warning: include_once(/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/../vendor/autoload.php): Failed to open stream: No such file or directory in /mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php on line 19 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 356392 | {main}( ) | .../index.php:0 |
2 | 0.0000 | 356752 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0995 | 6751488 | require_once( '/mnt/deploy.bak/test.nowre.com/web/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.1055 | 6748616 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/single.php ) | .../template-loader.php:106 |
5 | 0.1521 | 7010784 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-singles/image.php ) | .../single.php:47 |
6 | 0.1566 | 6998040 | get_template_part( $slug = 'template-parts/content', $name = 'title-content-share', $args = ??? ) | .../image.php:12 |
7 | 0.1566 | 6998632 | locate_template( $template_names = [0 => 'template-parts/content-title-content-share.php', 1 => 'template-parts/content.php'], $load = TRUE, $load_once = FALSE, $args = [] ) | .../general-template.php:204 |
8 | 0.1566 | 6998792 | load_template( $_template_file = '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php', $load_once = FALSE, $args = [] ) | .../template.php:718 |
9 | 0.1567 | 6999072 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php ) | .../template.php:785 |
10 | 0.1589 | 7075272 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php ) | .../content-title-content-share.php:4 |
( ! ) Warning: include_once(): Failed opening '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/../vendor/autoload.php' for inclusion (include_path='.:/usr/share/php') in /mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php on line 19 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 356392 | {main}( ) | .../index.php:0 |
2 | 0.0000 | 356752 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0995 | 6751488 | require_once( '/mnt/deploy.bak/test.nowre.com/web/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.1055 | 6748616 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/single.php ) | .../template-loader.php:106 |
5 | 0.1521 | 7010784 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-singles/image.php ) | .../single.php:47 |
6 | 0.1566 | 6998040 | get_template_part( $slug = 'template-parts/content', $name = 'title-content-share', $args = ??? ) | .../image.php:12 |
7 | 0.1566 | 6998632 | locate_template( $template_names = [0 => 'template-parts/content-title-content-share.php', 1 => 'template-parts/content.php'], $load = TRUE, $load_once = FALSE, $args = [] ) | .../general-template.php:204 |
8 | 0.1566 | 6998792 | load_template( $_template_file = '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php', $load_once = FALSE, $args = [] ) | .../template.php:718 |
9 | 0.1567 | 6999072 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php ) | .../template.php:785 |
10 | 0.1589 | 7075272 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php ) | .../content-title-content-share.php:4 |
( ! ) Fatal error: Uncaught Error: Class "Endroid\QrCode\QrCode" not found in /mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php on line 21 | ||||
---|---|---|---|---|
( ! ) Error: Class "Endroid\QrCode\QrCode" not found in /mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php on line 21 | ||||
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0000 | 356392 | {main}( ) | .../index.php:0 |
2 | 0.0000 | 356752 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-blog-header.php ) | .../index.php:17 |
3 | 0.0995 | 6751488 | require_once( '/mnt/deploy.bak/test.nowre.com/web/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.1055 | 6748616 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/single.php ) | .../template-loader.php:106 |
5 | 0.1521 | 7010784 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-singles/image.php ) | .../single.php:47 |
6 | 0.1566 | 6998040 | get_template_part( $slug = 'template-parts/content', $name = 'title-content-share', $args = ??? ) | .../image.php:12 |
7 | 0.1566 | 6998632 | locate_template( $template_names = [0 => 'template-parts/content-title-content-share.php', 1 => 'template-parts/content.php'], $load = TRUE, $load_once = FALSE, $args = [] ) | .../general-template.php:204 |
8 | 0.1566 | 6998792 | load_template( $_template_file = '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php', $load_once = FALSE, $args = [] ) | .../template.php:718 |
9 | 0.1567 | 6999072 | require( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-title-content-share.php ) | .../template.php:785 |
10 | 0.1589 | 7075272 | include( '/mnt/deploy.bak/test.nowre.com/web/wp-content/themes/nowre_2023/template-parts/content-share.php ) | .../content-title-content-share.php:4 |