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

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -