iOS app sometimes launches a bit shrinked

  • Cocoon Version:

  • Basic description of the problem:
    I have problem with my app for iOS built with C2
    Either webview or webview+
    App launches ok but sometimes (lets say one out of ten launches) it just dont fill entire screen so at the bottom i have a black bar. Entire app is a bit shrinked but since i use scale outer, sides stay covered. observe images:


  • Device info:
    any iphone ios 11

  • Webview engine(s):
    both Webview and Webview+

  • Framework/game engine (if relevant):
    Construct 2

heres my config:

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="" xmlns:cdv="" id="xxxxxxxxxxxxxx" version="1.0" ios-CFBundleIdentifier="xxxxxxxxxxxxxx">
    <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"/>
    <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"/>
        <splash src="www/splash/ios/Default@2x~universal~anyany.png"/>
        <splash src="www/splash/ios/Defaulf-Portrait-2436h.png"/>
    <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="*"/>


Hey @vixus
I had the same issue in my last app top and bottom area was having a black area it it was mainly in Bigger screens phones so i just switch to the canvas+ and it solved that issue. Give it a try.


Propably the WKWebView Engine can crack the display. Can you try it without this plugin?



This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.