a11*_*111 96 iphone splash-screen ipod-touch ipad ios
我正在使用iOS SDK开发应用程序.我需要知道我需要什么样的Default闪屏大小.
dre*_*kka 179
我将离开以下帖子以供参考.
请阅读Apple的文档人机界面指南 - 启动屏幕,了解有关启动屏幕和建议的详细信息.
谢谢
Drekka
2012年7月 - 由于这个回复相当陈旧,但剧照似乎很受欢迎.我写了一篇基于Apple的doco的博客文章并将其放在我的博客上.我希望你们发现它有用.
是.在iPhone/iPad开发中Default.png,设备会自动显示文件,因此您无需对其进行编程即可.我没有它,但你需要具有特定名称的iPad的不同PNG.我用Google搜索iPad default png并从phunkwerks网站获取此信息:
为了处理各种方向选项,我们为iPad发布图像创建了一个新的命名约定.iPad的屏幕尺寸为768×1024,注意高度后面的尺寸考虑了20像素的状态栏.
Default-Portrait.png* - 768w x 1024h Default-PortraitUpsideDown.png - 768w x 1024h Default-Landscape.png** - 1024w x 748h Default-LandscapeLeft.png - 1024w x 748h Default-LandscapeRight.png - 1024w x 748h iPad-Retina–Portrait.png - 1536w x 2048h iPad-Retina–Landscape.png - 2048w x 1496hDefault.png - 不建议 * - 如果您尚未指定Default-PortraitUpsideDown.png文件,则此文件优先.
** - 如果您尚未指定文件Default-LandscapeLeft.png或Default-LandscapeRight.png图像文件,则此文件优先.
这个链接到"Apple的开发人员库"也很有用.
And*_*son 31
截至2013年7月(iOS 6),这是我们一直使用的:
IPHONE SPLASH
Default.png - 320 x 480
Default@2x.png - 640 x 960
Default-568h@2x.png - 640 x 1096 (with status bar)
Default-568h@2x.png - 640 x 1136 (without status bar)
IPAD SPLASH
iPadImage-Appname-Portrait.png * 768w x 1004h (with status bar)
iPadImage-Appname-Portrait@2x.png * 1536w x 2008h (with status bar)
iPadImage-Appname-Landscape.png ** 1024w x 748h (with status bar)
iPadImage-Appname-Landscape@2x.png ** 2048w x 1496h (with status bar)
iPadImage-Appname-Portrait.png * 768w x 1024h (without status bar)
iPadImage-Appname-Portrait@2x.png * 1536w x 2048h (without status bar)
iPadImage-Appname-Landscape.png ** 1024w x 768h (without status bar)
iPadImage-Appname-Landscape@2x.png ** 2048w x 1536h (without status bar)
ICON
Appname-29.png
Appname-29@2x.png
Appname-50.png
Appname-50@2x.png
Appname-57.png
Appname-57@2x.png
Appname-72.png
Appname-72@2x.png
iTunesArtwork (512px x 512px)
iTunesArtwork@2x (1024px x 1024px)
Run Code Online (Sandbox Code Playgroud)
igo*_*igo 16
对于iOS7,创建以下尺寸的启动图像:
适用于iPhone 5和iPod touch(第5代):
对于其他iPhone和iPod touch设备:
对于iPad肖像:
对于iPad风景:
更新1
对于iPhone 6:
对于iPhone 6 Plus:
更新2
对于iPhone X:
在 中Xcode 11,您只能提供一张具有 1x、2x 和 3x 比例的图像,然后将其设置LaunchScreen.storyboard为填满屏幕,一切顺利!
例如:(1242pt x 2688pt @1x)
这是纵向屏幕尺寸,iPhone 11 Pro Max其尺寸是 iPhone 的大屏幕尺寸,因此它将在所有 iOS 设备上为您提供高质量的启动画面。
我已经收集了启动画面所需的所有尺寸。你所需要的只是拖动这些尺寸的图像并将它们放下,Xcode 会将每个尺寸放置在正确的位置。
祝你好运。
320×480
640×960
640×1136
750×1334
768×1004
768×1024
828×1792
1024×748
1024×768
1125×2436
1242×2208
1242×2688
1536×2008
1536×2048
1792×828
2048×1496
2048×1536
2208×1242
2436×1125
2688×1242
笔记
所需图像的数量是 26 张图像,但有 6 个重复尺寸,因此您会发现上述尺寸只有 20 个。