---
title: "tabBarController(_:displayOrderDidChangeFor:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitabbarcontrollerdelegate/tabbarcontroller(_:displayorderdidchangefor:)"
---

# tabBarController(_:displayOrderDidChangeFor:)

Notifies the delegate that the display order for the specified tab has been changed by the user.

## Declaration

```swift
optional func tabBarController(_ tabBarController: UITabBarController, displayOrderDidChangeFor group: UITabGroup)
```

## Mentioned in

Elevating your iPad app with a tab bar and sidebar
