setStatusBarHidden(_:with:)
Hides or shows the status bar, optionally animating the transition.
Declaration
func setStatusBarHidden(_ hidden: Bool, with animation: UIStatusBarAnimation)Parameters
Discussion
See the descriptions of the constants of the UIStatusBarAnimation type for more information.
See Also
Deprecated methods
requestSceneSessionActivation(_:userActivity:options:errorHandler:)beginIgnoringInteractionEvents()endIgnoringInteractionEvents()setMinimumBackgroundFetchInterval(_:)scheduleLocalNotification(_:)presentLocalNotificationNow(_:)cancelLocalNotification(_:)cancelAllLocalNotifications()setKeepAliveTimeout(_:handler:)UIMinimumKeepAliveTimeoutclearKeepAliveTimeout()setStatusBarStyle(_:animated:)setStatusBarOrientation(_:animated:)registerUserNotificationSettings(_:)registerForRemoteNotifications(matching:)