Contents

application(_:didChangeStatusBarFrame:)

Tells the delegate when the frame of the status bar has changed.

Declaration

optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect)

Parameters

  • application:

    Your singleton app object.

  • oldStatusBarFrame:

    The previous frame of the status bar, in screen coordinates.

Discussion

After calling this method, the app also posts a didChangeStatusBarFrameNotification notification to give interested objects a chance to respond to the change.

See Also

Deprecated