---
title: "appendView(_:animated:)"
framework: CareKit
role: symbol
role_heading: Instance Method
platforms: [iOS 13.0+, Mac Catalyst 13.0+, watchOS 7.0+]
path: "carekit/ocklistviewcontroller/appendview(_:animated:)"
---

# appendView(_:animated:)

Appends a view to the vertical stack of listed views.

## Declaration

```swift
func appendView(_ view: UIView, animated: Bool)
```

## Parameters

- `view`: The view to append to the current end of the list.
- `animated`: A Boolean value that indicates whether to animate adding the view.

## See Also

### Appending to the list

- [appendViewController(_:animated:)](carekit/ocklistviewcontroller/appendviewcontroller(_:animated:).md)
