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

# unhideWithoutActivation()

Restores hidden windows without activating their owner (the receiver).

```
func unhideWithoutActivation()
```

## Discussion

When this method begins, it posts an [`willUnhideNotification`](/documentation/AppKit/NSApplication/willUnhideNotification) to the default notification center. If it completes successfully, it posts an [`didUnhideNotification`](/documentation/AppKit/NSApplication/didUnhideNotification).

## See Also

[`-  activateIgnoringOtherApps:`](/documentation/AppKit/NSApplication/activate(ignoringOtherApps:))

Makes the receiver the active app.

[`-  applicationDidUnhide:`](/documentation/AppKit/NSApplicationDelegate/applicationDidUnhide(_:))

Tells the delegate that the app is now visible.

[`-  applicationWillUnhide:`](/documentation/AppKit/NSApplicationDelegate/applicationWillUnhide(_:))

Tells the delegate that the app is about to become visible.



---

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)