Tells the delegate when the frame of the status bar has changed.
SDKs
- iOS 2.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
Framework
- UIKit
Declaration
- (void)application:(UIApplication *)application didChangeStatusBarFrame:(CGRect)oldStatusBarFrame;
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 UIApplication
notification to give interested objects a chance to respond to the change.