---
title: isApplicationRunningInDock
framework: watchkit
role: symbol
role_heading: Instance Property
path: watchkit/wkapplication/isapplicationrunningindock
---

# isApplicationRunningInDock

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

## Declaration

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

## Discussion

Discussion This property contains true if the app is running in the dock; otherwise, false. Check this property (for example, in your app delegate’s 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.

## See Also

### Managing the app state

- [applicationState](watchkit/wkapplication/applicationstate.md)
- [WKApplicationState](watchkit/wkapplicationstate.md)
- [scheduleBackgroundRefresh(withPreferredDate:userInfo:scheduledCompletion:)](watchkit/wkapplication/schedulebackgroundrefresh(withpreferreddate:userinfo:scheduledcompletion:).md)
