简体   繁体   中英

Simulate application shortcut on simulator

Can I simulate application shortcut on simulator? (With 3D Touch for ios 9)

What is force touch pressure for?

在此处输入图片说明

Thanks you all for your quick help. I find this one that can simulate application shortcut. I have tested and it is working.

https://github.com/DeskConnect/SBShortcutMenuSimulator

在此处输入图片说明

It is impossible now unfortunately. force touch pressure is different from 3D touch. force touch pressure is for Apple Watch.

As per apples documentation

With Xcode 7.0 you must develop on a device that supports 3D Touch. Simulator in Xcode 7.0 does not support 3D Touch.

In the simulator menu you seeing Force Touch Pressure is for Apple Watch simulator

You can refer this in the apple developer ( https://developer.apple.com/library/prerelease/ios/documentation/UserExperience/Conceptual/Adopting3DTouchOniPhone/index.html#//apple_ref/doc/uid/TP40016543-CH1-SW7 )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM