手动隐藏在物理设备上不起作用的启动映像

Manually hiding the launch image not working on physical device

本文关键字:不起作用 启动 映像 物理设备 隐藏      更新时间:2023-09-26

当我运行触发器时。在Android模拟器或我的Nexus手机中,启动图像是手动(通过代码)正确隐藏的。当我使用iOS模拟器运行应用程序时,启动图像会被隐藏。然而,当我直接调试到我的iOS设备或包(然后通过iTunes复制)一个dev .ipa文件…然后启动应用程序…它只是挂在发射图像上。它永远不会消失。并且不会将任何内容登出到控制台(或forge-error.log)。

我的配置。Json文件看起来像这样:

    "launchimage": {
        "ipad": "launch/768x1004.png", 
        "android-landscape": "launch/1024x748.png", 
        "iphone-retina": "launch/640x960.png", 
        "iphone-retina4": "launch/640x1136.png",
        "iphone": "launch/320x480.png", 
        "android": "launch/640x960.png", 
        "ipad-landscape": "launch/1024x748.png",
        "ipad-retina": "launch/1536x2008.png",
    "ipad-landscape-retina": "launch/2048x1496.png",
        "hide-manually": true,
        "background-color": "#A6A6A6"
    }

下面是我如何隐藏基于最新文档的启动图像-

    forge.launchimage.hide(function(content) {
        // Success.
        alert("do the happy dance, it works");
    }, function(err) {
        // Error.
        alert("error");
    });

请建议。还有人有意见吗?我的设备运行的是iOS 6.0.1。谢谢你的阅读。

肯定与这个问题触发器有关。io在iOS启动界面挂起

更新:我的设备是3GS对如何调试这个有什么想法吗?

v1.4.36发布说明- http://docs.trigger.io/en/v1.4/release-notes.html解决了这个问题(并已修复)。

在现有安装之上重新安装iOS IPAs在某些情况下会导致启动映像挂起