duration(forPage:)

Returns the duration for the specified page, and preferredDuration when there is no custom duration set for the specified page.

Declaration

func duration(forPage page: Int) -> TimeInterval