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

# updateAnyView(_:context:)

Updates a view using a specific context

## Declaration

```swift
func updateAnyView(_ view: UIView & OCKTaskDisplayable, context: OCKSynchronizationContext<OCKTaskEvents?>)
```

## Parameters

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