在模拟器上模拟应用程序快捷方式

时间:2015-09-28 05:34:35

标签: ios ios9 3dtouch

我可以在模拟器上模拟应用程序快捷方式吗? (使用3D Touch for ios 9)

什么是力接触压力?

enter image description here

3 个答案:

答案 0 :(得分:1)

谢谢大家的快速帮助。我发现这个可以模拟应用程序快捷方式。我已经测试过,它正在运行。

https://github.com/DeskConnect/SBShortcutMenuSimulator

enter image description here

答案 1 :(得分:0)

现在不幸的是,这是不可能的。力触摸压力与3D触摸不同。力触摸压力适用于Apple Watch。

答案 2 :(得分:0)

根据苹果文档

  

使用Xcode 7.0,您必须在支持3D Touch的设备上进行开发。   Xcode 7.0中的模拟器不支持3D Touch。

在模拟器菜单中,您看到强制触摸压力适用于Apple Watch模拟器

您可以在Apple开发者(https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/index.html#//apple_ref/doc/uid/TP40016543-CH1-SW7

中引用它