---
title: "init(_:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/wkapplicationdelegateadaptor/init(_:)"
---

# init(_:)

Creates an WKApplicationDelegateAdaptor using a WatchKit Application Delegate.

## Declaration

```swift
@MainActor @preconcurrency init(_ delegateType: DelegateType.Type = DelegateType.self)
```

## Discussion

Discussion The framework will initialize the provided delegate and manage its lifetime, calling out to it when appropriate after performing its own work. note: The instantiated delegate will be placed in the Environment and may be accessed by using the @Environment property wrapper in the view hierarchy.
