Skip to content
プロジェクト

DeskConnect/SBShortcutMenuSimulator

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.

この数値の測り方

計測したスター増加

24時間
0
7日間
-1
15日間
-2
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

概要

シミュレータの3D Touchショートカット

制作・メディア

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.

関連プロジェクトを探す

読み込み中…