Swift playgrounds with UIImage

Look at the iOS Developer Library->Playground Help and search”Resource Files” and you will find the answer

1、Open the .playground

2、Show the Project navigator by selecting View > Navigators > Show Project Navigator.

3、Drag the images to the Resources

Like follow:

enter image description here

Leave a Comment