---
title: preferredDuration
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipagecontroltimerprogress/preferredduration
---

# preferredDuration

The preferred duration for the time interval progress, used when there is no custom page duration set for the current page. The preferred duration must be greater than 0.0

## Declaration

```swift
var preferredDuration: TimeInterval { get set }
```
