本文介绍了如何实现3D-Touch偷看和选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

手机,提醒和地图使用不同的3D-Touch Peek UI,可一次选择操作。例如,强制按下提醒,并一次性选择提醒我一天,而不释放手指。它也与使用 UIViewControllerPreviewing API的标准3D Touch预览不同,因为它在左对齐文本旁边显示自定义图标。

Phone, Reminders, and Maps use a different 3D-Touch Peek UI allowing to select an action in one go. For instance, force-press on a reminder and select "Remind me on a day" in one go, without releasing the finger. It also differs visually from standard 3D Touch previews using the UIViewControllerPreviewing API as it displays a custom icon alongside left-aligned text.

我找不到办法使用官方API。

I couldn't find a way to do this using the official API. Did I miss something or is this a private API indeed?

推荐答案

我在,并收到来自Apple的此回复:

I asked my question on the Apple Developer Forums as well and received this reply from Apple:

因此,目前不可能使用官方SDK。我提交了此,我鼓励您在需要时进行欺骗!

So it's currently not possible using the official SDK. I filed this enhancement request radar and I encourage you to dupe it if you need this, too!

这篇关于如何实现3D-Touch偷看和选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-18 14:15