---
title: allowsCalendarPreview
framework: eventkitui
role: symbol
role_heading: Instance Property
path: eventkitui/ekeventviewcontroller/allowscalendarpreview
---

# allowsCalendarPreview

A Boolean that determines whether the user can preview the event in a calendar day.

## Declaration

```swift
var allowsCalendarPreview: Bool { get set }
```

## Discussion

Discussion If the event is an invitation and this property is true, then a table cell appears allowing the user to preview the event along with other events on the same day. If false (the default), the calendar day preview does not appear. This property applies only to invitations.

## See Also

### Displaying and Editing Event Previews

- [allowsEditing](eventkitui/ekeventviewcontroller/allowsediting.md)
