<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIBarMinimizationRestorationBehavior/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIBarMinimizationRestorationBehavior@UIBarMinimizationRestorationBehaviorAutomatic"
  },
  "title" : "UIBarMinimizationRestorationBehavior.automatic"
}
-->

# UIBarMinimizationRestorationBehavior.automatic

The system determines the restoration behavior.

```
case automatic
```

## Discussion

By default, the bar restores when the user reverses scroll direction.
The system selects [`UIBarMinimizationRestorationBehavior.atScrollEdge`](/documentation/UIKit/UIBarMinimizationRestorationBehavior/atScrollEdge)
automatically for navigation items whose `preferredSearchBarPlacement`
is `.integratedCentered`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)