---
title: "init(contactID:storeManager:)"
framework: CareKit
role: symbol
role_heading: Initializer
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: "carekit/ockcontactviewcontroller/init(contactid:storemanager:)-7mjuk"
---

# init(contactID:storeManager:)

Initialize a view controller that displays a contact. Fetches and stays synchronized with the contact.

## Declaration

```swift
convenience init(contactID: String, storeManager: OCKSynchronizedStoreManager)
```

## Parameters

- `contactID`: The user-defined unique identifier for the contact to fetch.
- `storeManager`: Wraps the store that contains the contact to fetch.
