One Logo Pool Ball
MetricKit · IOS API REFERENCE

HangDiagnostic

struct · iOS 27.0+ · SDK 27.1

struct HangDiagnostic

A diagnostic for an app that is too busy to handle user input responsively.

Members (2)

get · iOS 27.0+

hangDuration

TypeScript
get hangDuration(): _Foundation_Measurement<_Foundation_UnitDuration>
Swift declaration
let hangDuration: Measurement<UnitDuration>

Total hang duration for this diagnostic.

get · iOS 27.0+

callStackTree

TypeScript
get callStackTree(): CallStackTree
Swift declaration
let callStackTree: CallStackTree

The application call stack tree associated with the hang.

Skipped declarations

No declarations were skipped in this snapshot.

All MetricKit types →