0

我目前正在学习以下课程:Yohann Taieb 在 Stackskills 上的“完整的 Apple Watch 开发课程 - 14 个构建应用程序”,但我遇到了障碍。

每当我在故事板中插入图像时,它都会调整大小,但是当我运行应用程序时,图像太高或与故事板不匹配。我还没有找到解决方案。

一个例子 :

imgur.com/mywEgUp

编辑: 这个问题在 Xcode 7 beta 5 中得到解决;)

4

1 回答 1

2

Looks like this is an issue of content mode. Try changing it to "Aspect Fit", which will keep the aspect ratio of the image and fit it to the frame of the containing image view.

于 2015-08-07T16:20:30.613 回答