0

A couple weeks ago I remember seeing a very cool and easy trick to add images to an array. The trick was after you create an array a view pops up next to it and you select the images and they appear in your array. However now I can't find how to do it.

1 Answer 1

1

Found what I was looking for.

var imageArray: [UIImage] = [Image Lateral]

After you write "Image Lateral" in the brackets the photos menu pops up.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.