是否可以在 launchsceen.xib 或 launchscreen.storyboard 的图像视图中使用通用应用程序的启动图像?

Is it possible to use launch image for universal app in imageview of launchsceen.xib or launchscreen.storyboard?

我必须在启动故事板的 imageview 中使用启动图像。但它不支持所有方向,如果我在 imageviewcontentmode 中执行 scaleToFill,那么图像看起来会被拉伸。有人可以帮助我吗?

如果您直接使用 LaunchImage,则启动 xib 不会加载。如果您想为不同方向加载带有自定义图像的 xib,则必须在资产目录中添加单独的图像。

Select 图片的尺寸 类 并使用合适的图片。