gpt4 book ai didi

ios - 通过从文件中拖动来将图像添加到 xCode

转载 作者:IT王子 更新时间:2023-10-29 08:07:53 27 4
gpt4 key购买 nike

我在 xCode 4.2 中添加图像时遇到问题。当我通过从桌面拖动 UIimageview 将其插入 ViewController 时,它不起作用。

是否有任何其他可能的方法来添加图像?

最佳答案

通过单击"file"->“将文件添加到...”将图像添加到您的项目。

然后在 ImageView 属性(实用程序 -> 属性检查器)中选择图像。

关于ios - 通过从文件中拖动来将图像添加到 xCode,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10997148/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com