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

# UIBarMetrics.defaultPrompt

Specifies default metrics for the device for bars with the prompt property, such as [`UINavigationBar`](/documentation/UIKit/UINavigationBar) and [`UISearchBar`](/documentation/UIKit/UISearchBar).

```
case defaultPrompt
```

---

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)