---
title: "init(configuration:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uifontpickerviewcontroller/init(configuration:)"
---

# init(configuration:)

Creates a controller for a font picker view.

## Declaration

```swift
init(configuration: UIFontPickerViewController.Configuration)
```

## Parameters

- `configuration`: Settings for fonts the font picker should offer to the user and how to display those fonts.

## Return Value

Return Value A new view controller to show a font picker with the specified configuration.

## See Also

### Configuring a font picker to display in iOS

- [configuration](uikit/uifontpickerviewcontroller/configuration-swift.property.md)
- [UIFontPickerViewController.Configuration](uikit/uifontpickerviewcontroller/configuration-swift.class.md)
