---
title: selectionLimit
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phpickerconfiguration-c.class/selectionlimit
---

# selectionLimit

The maximum number of selections the user can make.

## Declaration

```occ
@property (nonatomic) NSInteger selectionLimit;
```

## Discussion

Discussion The default value is 1. Setting the value to 0 sets the selection limit to the maximum that the system supports.

## See Also

### Setting the selection limit

- [selection](photosui/phpickerconfiguration-c.class/selection.md)
- [PHPickerConfigurationSelection](photosui/phpickerconfigurationselection.md)
