I have two view controllers: the first has a UIStatusBarStyleDefault , the second has a UIStatusBarStyleLightContent .
VC1 represents VC2 as a sheet of modal shape. Therefore, when presented in the collection of regular features, VC2 appears as UIModalPresentationFormSheet , and VC1 sets the default status bar. But in the compact feature collection, VC2 is full-screen and sets the status line style to Light Content .
The problem is switching between normal and compact (full screen for sheet formation), the status bar is not updated.

Attempt - [self setNeedsStatusBarAppearanceUpdate]; after changing the collection of signs did not solve the problem.
Any help would be greatly appreciated!
ios iphone split-screen-multitasking
Oren
source share