init(selectionStyle:displayStyle:eventStore:)
Initializes a newly created calendar chooser.
Declaration
init(selectionStyle: EKCalendarChooserSelectionStyle, displayStyle: EKCalendarChooserDisplayStyle, eventStore: EKEventStore)Parameters
- selectionStyle:
Determines whether to allow selection of multiple calendars. Possible values are described in Ekcalendarchooserselectionstyle.
- displayStyle:
Determines which calendars to display. Possible values are described in Ekcalendarchooserdisplaystyle.
- eventStore:
The event store to which the calendars belong.
Return Value
The initialized calendar chooser.