setDuration(_:forPage:)

Sets a custom duration for the specified page. Set 0.0 to remove the custom duration for the specified page.

Declaration

func setDuration(_ duration: TimeInterval, forPage page: Int)