<!--
{
  "availability" : [
    "macOS: 10.6.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWorkspace/desktopImageOptions(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWorkspace(im)desktopImageOptionsForScreen:"
  },
  "title" : "desktopImageOptions(for:)"
}
-->

# desktopImageOptions(for:)

Returns the desktop image options for the given screen.

```
func desktopImageOptions(for screen: NSScreen) -> [NSWorkspace.DesktopImageOptionKey : Any]?
```

## Parameters

`screen`

The screen for which to get the desktop image options.

## Return Value

A dictionary containing the keys found in [`NSWorkspace.DesktopImageOptionKey`](/documentation/AppKit/NSWorkspace/DesktopImageOptionKey).

## Discussion

You must call this method from your app’s main thread.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)