Instance Property

state

The session’s current state.

Declaration

@property(nonatomic, readonly) WKExtendedRuntimeSessionState state;

Discussion

For a list of session states, see WKExtendedRuntimeSessionState.

See Also

Managing the Session State

- start

Starts running the session.

- startAtDate:

Schedules a session to start running at a future date.

- invalidate

Stops the session.

WKExtendedRuntimeSessionState

The activation states for an extended runtime session.

expirationDate

The time and date when the session expires.