0

这篇SO 帖子给出了 iPhone 的 Xcode Launchpad Image.xcassettes 的图像分辨率和设备类型。iPad的对应信息是什么?

4

2 回答 2

3

谷歌是你的朋友。Apple 在此处列出了所有设备尺寸的列表 https://developer.apple.com/ios/human-interface-guidelines/graphics/launch-screen/

全表:

            UILaunchImages = {
            {  --iPhone 4 Portait
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{320, 480}"
            },
            {  --iPhone 4 LandscapeLeft
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{320, 480}"
            },
            {  --iPhone 4 LandscapeRight
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{320, 480}"
            },
            {  --iPhone 5 Portait
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-568h",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{320, 568}"
            },
            {  --iPhone 5 LandscapeLeft
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-568h",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{320, 568}"
            },
            {  --iPhone 5  LandscapeRight
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-568h",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{320, 568}"
            },
            { -- iPad / iPad Retina
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-Portrait",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{768, 1024}" 
            }, 
            { -- iPad / iPad Retina
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-Landscape",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{768, 1024}" 
            },
            { -- iPad / iPad Retina
                ["UILaunchImageMinimumOSVersion"] = "7.0",
                ["UILaunchImageName"] = "Default-Landscape",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{768, 1024}" 
            }, 
            {  --iPhone 6 Portrait
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-667h",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{375, 667}"
            },
            {  --iPhone 6 LandscapeLeft
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-667h",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{375, 667}"
            },
            {  --iPhone 6 LandscapeRight
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-667h",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{375, 667}"
            },
            { -- iPhone 6 Plus Portrait
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-736h",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{414, 736}"
            },
            { -- iPhone 6 Plus landscape left
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-Landscape-736h",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{414, 736}"
            },
            { -- iPhone 6 Plus landscape right
                ["UILaunchImageMinimumOSVersion"] = "8.0",
                ["UILaunchImageName"] = "Default-Landscape-736h",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{414, 736}"
            },
            { -- iPad Pro Portrait
                ["UILaunchImageMinimumOSVersion"] = "9.0",
                ["UILaunchImageName"] = "Default-Portrait-1336",
                ["UILaunchImageOrientation"] = "Portrait",
                ["UILaunchImageSize"] = "{1024, 1366}"
            },
            { -- iPad Pro Landscape Right
                ["UILaunchImageMinimumOSVersion"] = "9.0",
                ["UILaunchImageName"] = "Default-Landscape-1336",
                ["UILaunchImageOrientation"] = "LandscapeRight",
                ["UILaunchImageSize"] = "{1024, 1366}"
            },
            { -- iPad Pro Landscape Left
                ["UILaunchImageMinimumOSVersion"] = "9.0",
                ["UILaunchImageName"] = "Default-Landscape-1336",
                ["UILaunchImageOrientation"] = "LandscapeLeft",
                ["UILaunchImageSize"] = "{1024, 1366}"
            },
        },
于 2016-09-22T11:03:00.807 回答
0

这篇SO 帖子为 Iphone、Ipad 和 Apple watch 提供了清晰简洁的答案。

于 2016-09-22T22:14:27.333 回答