Skip to content
Proyectos

DeskConnect/SBShortcutMenuSimulator

Ver en GitHub

DeskConnect/SBShortcutMenuSimulator has 1,724 GitHub stars and 161 forks. GitHot measured 0 stars in 24 hours, -1 in 7 days, and -2 in 15 days. Last checked 2026-11-24 02:13 UTC. Last push 2016-12-11.

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
-1
in 15 days
-2
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

Atajos de 3D Touch en el simulador

Creación y multimedia

README.md

Original

SBShortcutMenuSimulator

SBShortcutMenuSimulator is a tweak for the iPhone Simulator that allows you to simulate the new UIApplicationShortcutItem API for iPhone with 3D Touch enabled.

Requirements

  • Xcode 7 GM or later, set as your default version of Xcode

Build

git clone https://github.com/DeskConnect/SBShortcutMenuSimulator.git
cd SBShortcutMenuSimulator
make

Note: If you installed SBShortcutMenuSimulator using the old method, go here and follow the uninstallation directions.

Usage

First, start SpringBoard with SBShortcutMenuSimulator enabled (run this from the cloned directory):

xcrun simctl spawn booted launchctl debug system/com.apple.SpringBoard --environment DYLD_INSERT_LIBRARIES=$PWD/SBShortcutMenuSimulator.dylib
xcrun simctl spawn booted launchctl stop com.apple.SpringBoard

Now, to show an app's quick action menu, send the app's bundle identifier over TCP to port 8000. For example, running this command will show the shortcut menu for Calendar:

echo 'com.apple.mobilecal' | nc 127.0.0.1 8000

License

SBShortcutMenuSimulator is available under the MIT license. See the LICENSE file for more info.

Explorar proyectos relacionados

Cargando…