---
title: "updateView(_:context:)"
framework: CareKit
role: symbol
role_heading: Instance Method
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: "carekit/ockgridtaskviewsynchronizer/updateview(_:context:)"
---

# updateView(_:context:)

Updates a view using a specific context.

## Declaration

```swift
func updateView(_ view: OCKGridTaskView, context: OCKSynchronizationContext<OCKTaskEvents?>)
```

## Parameters

- `view`: The view you update.
- `context`: Information about the update that is occurring.
