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# - SharpSVN - How to get the previous revision? -

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

url - Querystring manipulation of email Address in PHP -