ios - iPhone6、iPhone 6加: What naming convention the new images have to follow?

标签 ios iphone-6 iphone-6-plus

对于 iPhone4-5,我们必须有 3 个默认图像才能由设备加载

Default.png
Default@2x.png  and
Default-568h@2x.png

iPhone6 和 6 plus 有什么命名约定吗?

最佳答案

您不应依赖文件名,而应使用 Assets 目录来提供默认图像和应用程序图标。

Apple 对此有详尽的指南:https://developer.apple.com/library/ios/recipes/xcode_help-image_catalog-1.0/StoringAppIconsandLaunchImagesinanAssetCatalog/StoringAppIconsandLaunchImagesinanAssetCatalog.html

关于ios - iPhone6、iPhone 6加: What naming convention the new images have to follow?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25990991/

相关文章:

ios - iPhone 6 和 iPhone 6 Plus 模拟器在哪里存储其数据?

ios - 如何让 iPhone 6 上的比例与 Storyboard 比例相匹配?

ios - 如何让应用程序在 iPhone 6/6+ 上的 'Scaled Mode' 中运行

ios - 如何在 iOS map 上叠加圆圈

ios - 使用 iOS 13 深色模式时如何使 UITabBar 不半透明?

ios - 不同的启动图像 iPhone 6 和 iPhone 4s

ios - 该应用程序针对iPhone 6/6 Plus进行了优化

ios - CAShapeLayer subview 未正确设置动画

ios - 从 embedded.mobileprovision 配置文件中获取证书到期日期