Black bottom bar on exported iOS game. Help

  • Tell me, who faced this problem and how it can be solved on their own until they made an update?

    Can someone tell me how to get around this problem quickly? Since without its solution it is impossible to pass the test in the AppStore.

    The problem is already a problem, you can get acquainted with it here: github.com/Scirra/Construct-3-bugs/issues/2840

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • After dancing with a tambourine, I managed to solve the problem as follows.

    Find the file: consentform.html

    and replace the top line with the same extended one:

    <meta name = "viewport" content = "viewport-fit = cover, initial-scale = 1, maximum-scale = 1, user-scalable = no, width = device-width">

    Find the second file: CDVWKWebViewEngine.m

    Add code to Cordova-wkwebview-engine \ SRC \ IOS \ CDVWKWebViewEngine.m between line 99-100,

    // re-create WKWebView, since we need to update configuration

    WKWebView * wkWebView = [[WKWebView alloc] initWithFrame: self.engineWebView.frame configuration: configuration];

    // add begin

    #if __IPHONE_OS_VERSION_MAX_ALLOWED> = 110000

    if (@available (iOS 11.0, *)) {

    [wkWebView.scrollView setContentInsetAdjustmentBehavior: UIScrollViewContentInsetAdjustmentNever];

    }

    #endif

    // add end

    wkWebView.UIDelegate = self.uiDelegate;

    self.engineWebView = wkWebView;

    * - 99 is deleted as it duplicates the first line of this code.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)