---
title: EKCalendarChooser
framework: eventkitui
role: symbol
role_heading: Class
path: eventkitui/ekcalendarchooser
---

# EKCalendarChooser

A view controller for determining whether a user may select one or more calendars.

## Declaration

```swift
class EKCalendarChooser
```

## Overview

Overview Use the calendar chooser view controller to allow users to select one or more calendars when creating or editing a calendar event. The calendar chooser also lets you specify whether to display all calendars, or only those that may be written to. The view controller can be pushed on a navigation stack or presented modally. Use a delegate that conforms to EKCalendarChooserDelegate to receive callbacks when the user selects calendars or cancels an operation.

## Topics

### Initializing Calendar Choosers

- [init(selectionStyle:displayStyle:eventStore:)](eventkitui/ekcalendarchooser/init(selectionstyle:displaystyle:eventstore:).md)
- [init(selectionStyle:displayStyle:entityType:eventStore:)](eventkitui/ekcalendarchooser/init(selectionstyle:displaystyle:entitytype:eventstore:).md)

### Managing Calendar Selection

- [delegate](eventkitui/ekcalendarchooser/delegate.md)
- [EKCalendarChooserDelegate](eventkitui/ekcalendarchooserdelegate.md)

### Selecting a Calendar Type

- [selectedCalendars](eventkitui/ekcalendarchooser/selectedcalendars.md)
- [selectionStyle](eventkitui/ekcalendarchooser/selectionstyle.md)
- [EKCalendarChooserSelectionStyle](eventkitui/ekcalendarchooserselectionstyle.md)
- [EKCalendarChooserDisplayStyle](eventkitui/ekcalendarchooserdisplaystyle.md)

### Changing the Appearance

- [showsCancelButton](eventkitui/ekcalendarchooser/showscancelbutton.md)
- [showsDoneButton](eventkitui/ekcalendarchooser/showsdonebutton.md)

## Relationships

### Inherits From

- [UIViewController](uikit/uiviewcontroller.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSExtensionRequestHandling](foundation/nsextensionrequesthandling.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UIContentContainer](uikit/uicontentcontainer.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIPasteConfigurationSupporting](uikit/uipasteconfigurationsupporting.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UIStateRestoring](uikit/uistaterestoring.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)
