我有一个使用 bootstrap 3 在 Meteor 中开发的 web 应用程序,当我构建一个 iOS 应用程序并将其部署到 iPhone 6 时,它被“放大”了。我在 mobile-config.js 中有 3x 初始屏幕的 Assets (见下文) - 还有什么可能导致它扩展?谢谢。
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'
});
最佳答案
解决了。在 Xcode 中,在您的应用程序的“常规”选项卡中,转到“应用程序图标和启动图像”,然后在启动屏幕文件中,将其设置为 MainViewController
关于ios - 在 iPhone 6 上的 Meteor Cordova 应用程序中进行缩放,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27935218/