Saagar Jha
(replying to Saagar Jha)
They did so this time as well. There’s a class to handle the new format, “CSBStatusBarOverrides_iOS_Current”, and one that handles the older one, “CSBStatusBarOverrides_iOS_16”. The one that gets picked depends on the runtime your simulator is using, or SIMULATOR_RUNTIME_VERSION.
Saagar Jha
(replying to Saagar Jha)
Unfortunately, the corresponding changes in UIKitCore to read the new layout aren’t in the simulator runtimes. CoreSimulatorBridge forwards the overrides over in 16.1+ format, but the simulator sees it as the old 16.0 format, and generally fails to set the status bar correctly.
Saagar Jha
(replying to Saagar Jha)
Because of the off-by-one error, the command appears to not do anything. By pretending the simulator is running a 16.0 runtime, CoreSimulatorBridge will use the old format that _UIStatusBarDataConverter knows about and the override will be applied correctly. (FB12138918)