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
application(_:didRegister:)application(_:didReceive:)application(_:didReceiveRemoteNotification:)application(_:handleActionWithIdentifier:for:completionHandler:)application(_:handleActionWithIdentifier:for:withResponseInfo:completionHandler:)application(_:handleActionWithIdentifier:forRemoteNotification:completionHandler:)application(_:handleActionWithIdentifier:forRemoteNotification:withResponseInfo:completionHandler:)application(_:handleOpen:)application(_:open:sourceApplication:annotation:)application(_:willChangeStatusBarOrientation:duration:)application(_:didChangeStatusBarOrientation:)application(_:willChangeStatusBarFrame:)application(_:handle:completionHandler:)application(_:performFetchWithCompletionHandler:)application(_:shouldSaveApplicationState:)