---
title: "bringSubviewToFront(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiview/bringsubviewtofront(_:)"
---

# bringSubviewToFront(_:)

Moves the specified subview so that it appears on top of its siblings.

## Declaration

```swift
func bringSubviewToFront(_ view: UIView)
```

## Parameters

- `view`: The subview to move to the front.

## Discussion

Discussion This method moves the specified view to the end of the array of views in the subviews property.

## See Also

### Managing the view hierarchy

- [superview](uikit/uiview/superview.md)
- [subviews](uikit/uiview/subviews.md)
- [window](uikit/uiview/window.md)
- [addSubview(_:)](uikit/uiview/addsubview(_:).md)
- [sendSubviewToBack(_:)](uikit/uiview/sendsubviewtoback(_:).md)
- [removeFromSuperview()](uikit/uiview/removefromsuperview().md)
- [insertSubview(_:at:)](uikit/uiview/insertsubview(_:at:).md)
- [insertSubview(_:aboveSubview:)](uikit/uiview/insertsubview(_:abovesubview:).md)
- [insertSubview(_:belowSubview:)](uikit/uiview/insertsubview(_:belowsubview:).md)
- [exchangeSubview(at:withSubviewAt:)](uikit/uiview/exchangesubview(at:withsubviewat:).md)
- [isDescendant(of:)](uikit/uiview/isdescendant(of:).md)
