Проблема с полноэкранным приложением для iOS - PullRequest
0 голосов
/ 12 июня 2018

У меня проблема с моим приложением для iOS (сборка Android выглядит нормально) Я создаю его с помощью веб-браузера Cocoon

Вот моя проблема: приложение запускается нормально, но иногда (скажем, один из десяти запусков) оно просто не работаетзаполнить весь экран, поэтому в нижней части у меня есть черная полоса.Все приложение немного сжато, но так как я использую масштабируемые стороны, оставайтесь закрытыми.наблюдать изображения:

enter image description here

enter image description here

Сначала выглядит хорошо, а secong немного меньше.

Кто-нибудь знает, как это исправить?

вот мой конфиг:

<?xml version="1.0" encoding="UTF-8"?>
    <widget xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0" id="xxxxxxxxxxxxxx" version="1.0" ios-CFBundleIdentifier="xxxxxxxxxxxxxx">
        <name>xxxxxxxxxxxxxx</name>
        <description>xxxxxxxxxxxxxxxxxx</description>
        <author href="xxxxxxxxx" email="xxxxxxxx">xxxxxxx</author>
        <preference name="orientation" value="portrait"/>
        <preference name="fullscreen" value="false"/>
        <preference name="DisallowOverscroll" value="true"/>
        <preference name="deployment-target" value="8.0"/>
        <access origin="*"/>
        <plugin name="cordova-plugin-file"/>
        <access origin="*"/>
        <preference name="iosPersistentFileLocation" value="Library"/>
        <preference name="iosExtraFilesystems" value="library,library-nosync,documents,documents-nosync,cache,bundle,root"/>
        <allow-intent href="file://*/*"/>
        <plugin name="cordova-plugin-inappbrowser"/>
        <plugin name="cordova-plugin-whitelist"/>
        <access origin="*"/>
        <allow-intent href="http://*/*"/>
        <allow-intent href="https://*/*"/>
        <allow-intent href="tel:*"/>
        <allow-intent href="sms:*"/>
        <allow-intent href="mailto:*"/>
        <allow-intent href="geo:*"/>
        <allow-intent href="file://*/*"/>
        <plugin name="cordova-plugin-wkwebview-engine"/>
        <feature name="CDVWKWebViewEngine">
            <param name="ios-package" value="CDVWKWebViewEngine"/>
        </feature>
        <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine"/>
        <preference name="webView.scrollView.contentInsetAdjustmentBehavior" value="never"/>
        <engine name="ios"/>
        <preference name="Orientation" value="portrait"/>
        <plugin name="cordova-plugin-indexeddb" spec="*"/>
        <platform name="ios">
            <preference name="enabled" value="true"/>
            <name>xxxxxxxx</name>
            <splash src="www/splash/ios/Default@2x~universal~anyany.png"/>
            <splash src="www/splash/ios/Defaulf-Portrait-2436h.png"/>
        </platform>
        <plugin name="cordova-plugin-geolocation" spec="*"/>
        <plugin name="cordova-plugin-splashscreen" spec="*"/>
        <preference name="SplashScreen" value="screen"/>
        <preference name="SplashScreenDelay" value="5000"/>
        <plugin name="cordova-plugin-ios-non-exempt-encryption" spec="*"/>
    </widget>

помогите пожалуйста ....: (

...