<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIDatePickerStyle"
  },
  "title" : "UIDatePickerStyle"
}
-->

# UIDatePickerStyle

Styles that determine the appearance of a date picker.

```
enum UIDatePickerStyle
```

## Overview

A date picker style determines how your app displays the date picker value and its editor. For instance, a date picker with a [`datePickerMode`](/documentation/UIKit/UIDatePicker/datePickerMode) of [`UIDatePicker.Mode.dateAndTime`](/documentation/UIKit/UIDatePicker/Mode/dateAndTime) and [`datePickerStyle`](/documentation/UIKit/UIDatePicker/datePickerStyle) of [`UIDatePickerStyle.compact`](/documentation/UIKit/UIDatePickerStyle/compact) displays the date picker’s value as a label that the user can tap to view a calendar-style editor. On the other hand, the same date picker using the [`UIDatePickerStyle.inline`](/documentation/UIKit/UIDatePickerStyle/inline) style displays a view that lets the user edit the value without having to tap the label shown in the [`UIDatePickerStyle.compact`](/documentation/UIKit/UIDatePickerStyle/compact) style.

## Topics

### Styles

[`UIDatePickerStyle.automatic`](/documentation/UIKit/UIDatePickerStyle/automatic)

A style indicating that the system picks the concrete style based on the current platform and date picker mode.

[`UIDatePickerStyle.compact`](/documentation/UIKit/UIDatePickerStyle/compact)

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

[`UIDatePickerStyle.inline`](/documentation/UIKit/UIDatePickerStyle/inline)

A style indicating that the date pickers displays as an inline, editable field.

[`UIDatePickerStyle.wheels`](/documentation/UIKit/UIDatePickerStyle/wheels)

A style indicating that the date picker displays as a wheel picker.



---

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)