<!--
{
  "availability" : [
    "watchOS: 4.0.0 - 9.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKExtension/isApplicationRunningInDock",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKExtension(py)isApplicationRunningInDock"
  },
  "title" : "isApplicationRunningInDock"
}
-->

# isApplicationRunningInDock

A Boolean value that indicates whether the app is running in the dock.

```
var isApplicationRunningInDock: Bool { get }
```

## Discussion

This property contains <doc://com.apple.documentation/documentation/Swift/true> if the app is running in the dock; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

Check this property (for example, in your extension delegate’s [`applicationWillEnterForeground()`](/documentation/WatchKit/WKExtensionDelegate/applicationWillEnterForeground()) method) to determine whether your app is running in the dock. You can use this information to customize your user interface in the dock.

---

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)