---
title: allowReadOnly
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uicloudsharingcontroller/permissionoptions/allowreadonly
---

# allowReadOnly

The option that gives participants read-only permission to the shared data.

## Declaration

```swift
static var allowReadOnly: UICloudSharingController.PermissionOptions { get }
```

## Discussion

Discussion To give the user the option to prevent other people from editing the shared data, include the allowReadOnly option when setting the availablePermissions property on the UICloudSharingController instance.

## See Also

### Constants

- [allowPublic](uikit/uicloudsharingcontroller/permissionoptions/allowpublic.md)
- [allowPrivate](uikit/uicloudsharingcontroller/permissionoptions/allowprivate.md)
- [allowReadWrite](uikit/uicloudsharingcontroller/permissionoptions/allowreadwrite.md)
