views:

234

answers:

0

In my application, I am using Tab bar controller.How to change from Portrait mode to Landscape mode and vice versa? I can change mode with out Tab bar controller by just returning YES in shouldAutorotateToInterfaceOrientation method but when a view consist tab bar it is not working.Please, provide a solution. I am thankful to you?