---
title: arrangedSubviews
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uistackview/arrangedsubviews
---

# arrangedSubviews

The list of views arranged by the stack view.

## Declaration

```swift
var arrangedSubviews: [UIView] { get }
```

## Discussion

Discussion The stack view ensures that the arrangedSubviews array is always a subset of its subviews array. Therefore, whenever the addArrangedSubview(_:) method is called, the stack view adds the view as a subview, if it isn’t already. Whenever an arranged view’s removeFromSuperview() method is called, the stack view removes the view from its arrangedSubviews array.

## See Also

### Related Documentation

- [removeFromSuperview()](uikit/uiview/removefromsuperview().md)
- [init(arrangedSubviews:)](uikit/uistackview/init(arrangedsubviews:).md)

### Managing arranged subviews

- [addArrangedSubview(_:)](uikit/uistackview/addarrangedsubview(_:).md)
- [insertArrangedSubview(_:at:)](uikit/uistackview/insertarrangedsubview(_:at:).md)
- [removeArrangedSubview(_:)](uikit/uistackview/removearrangedsubview(_:).md)
