---
title: "init(transitionStyle:navigationOrientation:options:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uipageviewcontroller/init(transitionstyle:navigationorientation:options:)"
---

# init(transitionStyle:navigationOrientation:options:)

Initializes a newly created page view controller.

## Declaration

```swift
init(transitionStyle style: UIPageViewController.TransitionStyle, navigationOrientation: UIPageViewController.NavigationOrientation, options: [UIPageViewController.OptionsKey : Any]? = nil)
```

## Parameters

- `style`: The style for transitions between pages.
- `navigationOrientation`: The orientation of the page-by-page navigation.
- `options`: A dictionary of options. For keys, see doc://com.apple.uikit/documentation/UIKit/UIPageViewController/OptionsKey.

## Return Value

Return Value The initialized page view controller.

## Discussion

Discussion After initialization, use the setViewControllers(_:direction:animated:completion:) method to set the initial view controllers.

## See Also

### Creating a page view controller

- [init(coder:)](uikit/uipageviewcontroller/init(coder:).md)
- [UIPageViewController.OptionsKey](uikit/uipageviewcontroller/optionskey.md)
