iphone - display problem in UIView iPad -


i have small application ipad, portrait mode locked in application, problem occurs when turn down ipad, display of application not running down can me??

you should implement below method in of viewcontrollers.

- (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation { if(interfaceorientation==uiinterfaceorientationportraitupsidedown || interfaceorientation==uiinterfaceorientationportrait) {     return yes; } return no; } 

hope help.


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -