migration path for setStatusBarOrientation:

we used to use code such as this to make sure the keyboard comes up in a desired orientation

[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO];

however, apple has no-op'd setStatusBarOrientation:

it still can be called, but it gives a warning that it no longer does anything as of iOS13

does anyone know the recommended replacement path for this feature?


migration path for setStatusBarOrientation:
 
 
Q