Cordova 3.5.0-0.2.6 (son kararlı sürüm) kullanıyorum. iPad aygıtlarının yönünü kilitleme konusunda sorun yaşıyorum. iPhone'da düzgün çalışıyor ancak iPad'de yönelim kilitlenmiyor.Cordova kilit yönelimi başarısız oluyor
Sadece sayfaları değil, tüm uygulamayı kilitlemek istiyorum.
Bu benim şimdiki Config.xml geçerli: oluşturulan Plist dosyası benziyor
<?xml version="1.0" encoding="utf-8"?>
<widget id="com.domain"
version="version"
xmlns="http://www.w3.org/ns/widgets">
<name>xxx</name>
<description>Lorem ipsum</description>
<access origin="*"/>
<author email="[email protected]" href="https://x.com">x</author>
<content src="index.html?platform=cordova"/>
<feature ...></feature>
<preference name="permissions" value="none"/>
<preference name="orientation" value="portrait"/>
<preference name="show-splash-screen-spinner" value="true"/>
<preference name="auto-hide-splash-screen" value="true"/>
<preference name="prerendered-icon" value="true"/>
<preference name="disallowoverscroll" value="true"/>
<preference name="webviewbounce" value="false"/>
<preference name="StatusBarOverlaysWebView" value="false"/>
<preference name="StatusBarBackgroundColor" value="#000000"/>
</widget>
:
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations¨ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
Bu, Cordova'daki bir hatadan kaynaklanıyor - https://issues.apache.org/jira/browse/CB-6026 Henüz düzeltilmemiş yönlendirmeyle ilgili daha büyük bir hata var - https: // issues.apache.org/jira/browse/CB-6462 – Mauro