---
title: scopeButtonTitles
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uisearchbar/scopebuttontitles
---

# scopeButtonTitles

An array of strings indicating the titles of the scope buttons.

## Declaration

```swift
var scopeButtonTitles: [String]? { get set }
```

## Discussion

Discussion The order of the strings in the array indicates the order that the corresponding buttons will be displayed, from left to right. The index in the array corresponds to the index used in selectedScopeButtonIndex.

## See Also

### Configuring scope bar buttons

- [selectedScopeButtonIndex](uikit/uisearchbar/selectedscopebuttonindex.md)
- [showsScopeBar](uikit/uisearchbar/showsscopebar.md)
- [setShowsScope(_:animated:)](uikit/uisearchbar/setshowsscope(_:animated:).md)
