---
title: maintainsFixedSize
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicellaccessory-swift.struct/customviewconfiguration/maintainsfixedsize
---

# maintainsFixedSize

A Boolean value that determines whether to preserve the frame size of the custom view.

## Declaration

```swift
var maintainsFixedSize: Bool
```

## Discussion

Discussion When the value of this property is true, the system preserves the current frame size of the view. When the value of this property is false, the system sizes the view during layout of the accessories. The default value of this property is false.

## See Also

### Accessing configuration options

- [isHidden](uikit/uicellaccessory-swift.struct/customviewconfiguration/ishidden.md)
- [customView](uikit/uicellaccessory-swift.struct/customviewconfiguration/customview.md)
- [placement](uikit/uicellaccessory-swift.struct/customviewconfiguration/placement.md)
- [reservedLayoutWidth](uikit/uicellaccessory-swift.struct/customviewconfiguration/reservedlayoutwidth.md)
- [tintColor](uikit/uicellaccessory-swift.struct/customviewconfiguration/tintcolor.md)
