The names Mission Control shows for each space, such as "Desktop 2" or "Safari". This
opens Mission Control briefly to read them, and needs Accessibility permission. For a
desktop's number without opening Mission Control, use HSSpace.desktopNumber.
Returns Promise<Record<string,string>>
A Promise that resolves to an object mapping each space's ID to its name, or rejects with the reason they couldn't be read
The names Mission Control shows for each space, such as "Desktop 2" or "Safari". This opens Mission Control briefly to read them, and needs Accessibility permission. For a desktop's number without opening Mission Control, use
HSSpace.desktopNumber.