MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / toggleSimulatorAppearance

Function toggleSimulatorAppearance

packages/client/src/api/controls.ts:82–90  ·  view source on GitHub ↗
(udid: string)

Source from the content-addressed store, hash-verified

80}
81
82export function toggleSimulatorAppearance(udid: string) {
83 return apiRequest<{ ok: boolean }>(
84 `/api/simulators/${encodeURIComponent(udid)}/action`,
85 {
86 method: "POST",
87 body: JSON.stringify({ action: "toggleAppearance" }),
88 },
89 );
90}
91
92export function uploadSimulatorApp(
93 udid: string,

Callers

nothing calls this directly

Calls 1

apiRequestFunction · 0.90

Tested by

no test coverage detected