Contents

duration

The amount of time, in seconds, that the alert is visible.

Declaration

var duration: TimeInterval { get }

Discussion

Set duration to zero to display the alert until dismissed by the user. When duration is not zero, CPNavigationAlertMinimumDuration determines the minimum amount of time the alert is visible.

See Also

Getting the Alert Duration