Contents

statusBarFrame

The frame rectangle of the status bar.

Declaration

var statusBarFrame: CGRect { get }

Discussion

The frame rectangle is in the coordinate space of the associated UIWindowScene object. If the status bar is hidden, the value of this property is CGRectZero.