One Logo Pool Ball
AlarmKit · IOS API REFERENCE

AlarmPresentation.Paused

struct · iOS 26.0+ · SDK 27.1

struct Paused

An object that configures the UI for a paused timer state. This is only applicable to timers that can be paused. To get back to a countdown state, you must provide a definition for a resume button. The following code snippet describes how to schedule a timer that can pause and resume. ```swift let paused = AlarmPresentation.Paused( title: "Timer paused", resumeButton: AlarmButton(text: "Resume", textColor: .blue, systemImageName: "play.circle")) ```

Members (5)

get · iOS 26.0+

resumeButton

TypeScript
get resumeButton(): AlarmButton
Swift declaration
var resumeButton: AlarmButton

The appearance of the resume button.

set · iOS 26.0+

resumeButton

TypeScript
set resumeButton(value: AlarmButton)
Swift declaration
var resumeButton: AlarmButton

The appearance of the resume button.

get · iOS 26.0+

title

TypeScript
get title(): _Foundation_LocalizedStringResource
Swift declaration
var title: LocalizedStringResource

The title of the paused UI.

set · iOS 26.0+

title

TypeScript
set title(value: _Foundation_LocalizedStringResource)
Swift declaration
var title: LocalizedStringResource

The title of the paused UI.

init · iOS 26.0+

init

TypeScript
static init(title: _Foundation_LocalizedStringResource, resumeButton: AlarmButton): AlarmPresentation_Paused
Swift declaration
init(title: LocalizedStringResource, resumeButton: AlarmButton)

Creates a pause presentation with a resume button. - Parameters: - title: The title of the paused UI. - resumeButton: The required resume button for a paused timer.

Skipped declarations

No declarations were skipped in this snapshot.

All AlarmKit types →