openUrl in landscape mode in iphone -


I am trying to open urls via Safari in landscape mode. But still the following code is not able to do this.

[[UIApplication shared application] OpenRel: [NSL URL URL with string: @ ""]]; [[UIApplication shared applicant] setStatusBarOrientation: UIInterfaceOrientationLandscapeRight Animated: Yes];

Landscape mode depends on device orientation Mobile Safari One There is a third party (actually Apple is) and you can not set landscape mode in an application that you did not develop. In fact, even if you set orientation on your application, as soon as the Mobile Safari is launched, the setting is very much.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -