<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDatePickerStyle/compact",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIDatePickerStyle@UIDatePickerStyleCompact"
  },
  "title" : "UIDatePickerStyle.compact"
}
-->

# UIDatePickerStyle.compact

A style indicating that the date picker displays as a label that when tapped displays a calendar-style editor.

```
case compact
```

## Discussion

You can’t use this style with the [`UIDatePicker.Mode.countDownTimer`](/documentation/UIKit/UIDatePicker/Mode/countDownTimer) mode.

---

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)