如何将应用程序图像添加到 iPad 和 iPad Pro 的资产目录中?

How can I add app images to the assets catalog for both the iPad and iPad Pro?

在 Xcode 7.2 (Beta 4) 图像资产目录 iPad Pro 中没有插槽 (xcassets 文件夹)。如果我 select Xcode 资产中的图像(不是应用程序图标),则 iPad Pro 没有插槽。当 iPad 被 select 编辑为设备时,只有一个 1x 插槽和一个 2x 插槽。由于 iPad Pro 的分辨率更高,我原以为他们需要添加一个 iPad Pro 插槽。

我是不是漏掉了什么?

我的想法是,我可以根据图像的 固有大小 构建 UI,以便特定对于 iPad Pro 和以前的 iPad 型号,图像及其周围的 UI 元素 看起来大小相同

iPad Pro 使用 2 倍的资源,尽管它的分辨率是 iPad 系列中最高的 (2732x2048)。目前资产目录中唯一 iPad Pro 特定设置是针对 AppIcon 图像集的:

此外,LaunchImage 图像集也不支持 iPad Pro,因为 Apple 正在放弃对启动图像的支持,转而支持 Launch Storyboards。有关详细信息,请参阅 rdar://22915712