---
title: isPinned
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicellconfigurationstate-swift.struct/ispinned
---

# isPinned

A Boolean value that indicates whether the view is in a pinned state.

## Declaration

```swift
var isPinned: Bool { get set }
```

## Discussion

Discussion This state applies to header and footer views.

## See Also

### Managing view configuration states

- [isSelected](uikit/uicellconfigurationstate-swift.struct/isselected.md)
- [isHighlighted](uikit/uicellconfigurationstate-swift.struct/ishighlighted.md)
- [isFocused](uikit/uicellconfigurationstate-swift.struct/isfocused.md)
- [isDisabled](uikit/uicellconfigurationstate-swift.struct/isdisabled.md)
