Skip to content

Open App

Open a specified iOS application via Spotlight search.

Interface Description

Interface Type

openApp

Parameters

ParameterTypeRequiredDescription
deviceIdstringDevice ID
namestringApplication name (supports fuzzy search, Chinese will be automatically converted to Pinyin for search)

Return Value

javascript
true  // Returns true on successful operation

Basic Usage

Open Application

javascript
// Open WeChat app
await apiInvoke('openApp', {
    deviceId: 'P72578581E07',
    name: '微信'
});

How It Works

This interface opens the application through the following steps:

  1. Invoke Spotlight
  2. Enter application name
  3. Automatically open the application

Cooperation: try.catch@foxmail.com