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? -

c# - SharpSVN - How to get the previous revision? -

php cli reading files and how to fix it? -