1.Overview
Shortcuts
Due to iOS privacy protection restrictions, some iClick functions such as writing to clipboard need to be implemented with shortcuts. You need to install and bind iClick shortcuts to use them.Unified Interface
All shortcuts are called throughexecShortcut
Please note that this interface does not support concurrent calls
Notes
iClick has built-in some common functions for developers, such as reading/writing clipboard, sending SMS, etc. However, we will not integrate too many functions into official shortcuts, because it is not perfect and may have the possibility of freezing or no response If you need more functions, you can try to create custom shortcuts. See Extended Shortcuts for details.2.Write Clipboard
Write text content to the iOS device’s system clipboard.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
3.Read Clipboard
Read text content from the iOS device’s system clipboard.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
4.Send SMS
Send SMS messages through the iOS device.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
5.Play Beep
Play the iOS device’s system beep sound.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
6.Open URL
Open a specified URL in the iOS device’s Safari browser.Endpoint Description
Endpoint Type
Parameters
Response Payload
- Cause the app to be in a “defocused” state
- Cause Shortcuts to freeze
Basic Usage
Notes
Tips- Opening an unauthorized URL will trigger a permission request, which developers need to handle themselves
7.Show WebView
Pop up a WebView in the current app to open the specified URL.Endpoint Description
Endpoint Type
Parameters
Response Payload
Basic Usage
Difference from openUrl
Tips
- Opening an unauthorized URL for the first time will trigger a permission request, which developers need to handle themselves
10.Extended Shortcuts
Through iClick’s extended mouse button feature, developers can create custom shortcuts. 💡 Unlimited Possibilities iOS Shortcuts can control most device functions, such as enabling WIFI, turning VPN on/off, setting Bluetooth, accessing networks, etc. By leveraging the mechanism of triggering shortcuts with iOS mouse buttons, you can implement countless complex workflowsHow It Works
iClick’s shortcuts system essentially works by triggering specific mouse buttons to activate corresponding shortcuts. When you call a shortcut:- Simulate pressing specified mouse button (e.g., EXTRA1)
- iOS shortcuts on device listen to button event
- Execute corresponding shortcut logic
Extended Mouse Buttons
iClick extends 5 additional mouse buttons for developers:Creating Custom Shortcuts
Step 1: Create iOS Shortcut
Create a shortcut on iOS device, for exampleQuick Toggle VPN.
Step 2: Add Button
Open Settings -> Accessibility -> Touch -> AssistiveTouch -> Devices -> Click PHOMATRIX+ -> Customize more buttons and send the button you wantStep 3: Bind Shortcut
For example, if you addedButton 5, click Button 5 and select the Quick Toggle VPN shortcut you just created
Step 4: Trigger Shortcut
In your program, you can trigger the VPN toggle shortcut by using the mouse button API to pressButton 5

