---
title: "initWithConfiguration:"
framework: photosui
role: symbol
role_heading: Instance Method
path: "photosui/phpickerviewcontroller/initwithconfiguration:"
---

# initWithConfiguration:

Creates a new picker view controller with the configuration you specify.

## Declaration

```occ
- (instancetype) initWithConfiguration:(PHPickerConfiguration *) configuration;
```

## Parameters

- `configuration`: The configuration with which to initialize the view controller.

## See Also

### Creating a picker

- [PHPickerConfiguration](photosui/phpickerconfiguration-c.class.md)
