I have an 2 ViewController
first ViewController
in Portrait mode and SecondViewController
in Landscape mode. used category to SecondViewController
in LandScapemode.
My requirement is my SecondViewController
Status bar in landscape mode i want it to Portrait mode. how may i do this
[[UIApplication sharedApplication] setStatusBarOrientation:UIInterfaceOrientationPortrait animated:NO];
i have tried this line of code but not work how may i do this
thanks in advance.