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

# miniaturizeAll(_:)

Miniaturizes all the receiver’s windows.

```
func miniaturizeAll(_ sender: Any?)
```

## Parameters

`sender`

The object that sent the command.

## See Also

[`hide(_:)`](/documentation/AppKit/NSApplication/hide(_:))

Hides all the receiver’s windows, and the next app in line is activated.



---

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)