iPhone 6 上的 Meteor Cordova 应用程序中的缩放
Scaling in Meteor Cordova app on iPhone 6
我有一个使用 bootstrap 3 在 Meteor 中开发的 Web 应用程序,当我构建一个 iOS 应用程序并将其部署到 iPhone 6 时,它是 "scaled" 了。我在 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'
});
已解决。在您应用的 "General" 选项卡的 Xcode 中,向下转到 "app icons and launch images" 并在 Launch Screen File 中,将其设置为 MainViewController
我有一个使用 bootstrap 3 在 Meteor 中开发的 Web 应用程序,当我构建一个 iOS 应用程序并将其部署到 iPhone 6 时,它是 "scaled" 了。我在 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'
});
已解决。在您应用的 "General" 选项卡的 Xcode 中,向下转到 "app icons and launch images" 并在 Launch Screen File 中,将其设置为 MainViewController