---
title: selectionLimit
framework: photosui
role: symbol
role_heading: Instance Property
path: photosui/phpickerupdateconfiguration/selectionlimit
---

# selectionLimit

The maximum number of selections the user can make.

## Declaration

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

## Discussion

Discussion This property updates the photos picker configuration (PHPickerConfiguration) property selectionLimit.
