Image suggestions are not working Xcode 10

前端 未结 4 1494
不思量自难忘°
不思量自难忘° 2021-01-01 19:39

I am trying to set image to UIImageView. Its working well in older version.

In Xcode 9.4.1

But in Xcode 10

When I am t

4条回答
  •  北海茫月
    2021-01-01 20:07

    In Xcode 10 and Swift 4.2, only the code completion function (or auto-complete) of the Xcode IDE has been discontinued for the old way. Here is the new way:

    Just type image literal and it will complete with default icon. Double click on this icon and it will open the media library right side of it.

    Just choose your image and it work like before!

    Hope I am able to help you!

提交回复
热议问题