---
title: UIBarPosition.topAttached
framework: uikit
role: symbol
role_heading: Case
path: uikit/uibarposition/topattached
---

# UIBarPosition.topAttached

Specifies that the bar is at the top of the screen, as well as its containing view.

## Declaration

```swift
case topAttached
```

## Discussion

Discussion Bars with this position draw their background extended upwards, allowing their background content to show through the status bar.

## See Also

### Constants

- [UIBarPosition.any](uikit/uibarposition/any.md)
- [UIBarPosition.bottom](uikit/uibarposition/bottom.md)
- [UIBarPosition.top](uikit/uibarposition/top.md)
