【问题标题】:Scaling in Meteor Cordova app on iPhone 6在 iPhone 6 上的 Meteor Cordova 应用程序中进行缩放
【发布时间】:2015-01-14 03:04:09
【问题描述】:

我有一个使用 bootstrap 3 在 Meteor 中开发的 web 应用程序,当我构建一个 iOS 应用程序并将其部署到 iPhone 6 时,它被“放大”了。我在 mobile-config.js 中有 3x 初始屏幕的资产(见下文) - 还有什么可能导致它扩展?谢谢。

App.icons({
'iphone': 'resources/icons/iphone.png',
'iphone_2x': 'resources/icons/iphone_2x.png',
'iphone_3x': 'resources/icons/iphone_3x.png',
'ipad': 'resources/icons/ipad.png',
'ipad_2x': 'resources/icons/ipad_2x.png',
'android_ldpi': 'resources/icons/android_ldpi.png',
'android_mdpi': 'resources/icons/android_mdpi.png',
'android_hdpi': 'resources/icons/android_hdpi.png',
'android_xhdpi': 'resources/icons/android_xhdpi.png'
});

App.launchScreens({
'iphone': 'resources/splash/iphone.png',
'iphone_2x': 'resources/splash/iphone_2x.png',
'iphone5': 'resources/splash/iphone5.png',
'iphone6': 'resources/splash/iphone6.png',
'iphone6p_portrait': 'resources/splash/iphone6p_portrait.png',
'iphone6p_landscape': 'resources/splash/iphone6p_landscape.png',
'ipad_portrait': 'resources/splash/ipad_portrait.png',
'ipad_portrait_2x': 'resources/splash/ipad_portrait_2x.png',
'ipad_landscape': 'resources/splash/ipad_landscape.png',
'ipad_landscape_2x': 'resources/splash/ipad_landscape_2x.png',
'android_ldpi_portrait': 'resources/splash/android_ldpi_portrait.png',
'android_ldpi_landscape': 'resources/splash/android_ldpi_landscape.png',
'android_mdpi_portrait': 'resources/splash/android_mdpi_portrait.png',
'android_mdpi_landscape': 'resources/splash/android_mdpi_landscape.png',
'android_hdpi_portrait': 'resources/splash/android_hdpi_portrait.png',
'android_hdpi_landscape': 'resources/splash/android_hdpi_landscape.png',
'android_xhdpi_portrait': 'resources/splash/android_xhdpi_portrait.png',
'android_xhdpi_landscape': 'resources/splash/android_xhdpi_landscape.png'
});

【问题讨论】:

    标签: ios cordova meteor


    【解决方案1】:

    解决了。在 Xcode 中,在您的应用程序的“常规”选项卡中,转到“应用程序图标和启动图像”,然后在启动屏幕文件中,将其设置为 MainViewController

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-02-10
      • 1970-01-01
      • 2015-11-12
      • 2016-02-02
      • 2018-06-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多