iphone - StatusBarOrientation animation problem on iPad -


I am developing an application for iPhone which shows every orientation (Portrait and Landscape).

And I have not done any such status animation program in this way.

[Application Setstatsbar Orientation: UI Interface Portrait Animated: No];

But when I launch the app on the iPad,

the situation is encoded!

Why the status animation setting is ignored?

  - (zero) doneRotateFromInterfaceOrientation: (UIInterfaceOrientation) Interface Orientation {[UIView Set Approved Disables: No]; / * Your Original Orientation Booleans * /}   

Place it in your UIViewController and all should be well.

Best of luck with your project.

Comments