---
title: "init(options:)"
framework: medialibrary
role: symbol
role_heading: Initializer
path: "medialibrary/mlmedialibrary/init(options:)"
---

# init(options:)

Initializes the media library based on the specified load options.

## Declaration

```swift
init(options: [String : Any] = [:])
```

## Parameters

- `options`: A dictionary of load options.

## Return Value

Return Value A new media library.

## Discussion

Discussion For descriptions of possible load options, see Load Options Keys.
