load specific image from assets based on UI picker selection

externalPicture.image = UIImage (named: externalArray [1])

seatingSetup.image = UIImage (named: seatingArray [1])


I want to load specific imagines from assets based on the UI picker view was chosen. I know that creating an array is part of it... I know the [1] is only selecting the 2nd pic in my array... but I wanted to make sure it was at least loading properly... Above is what I have. How can I make the code so inside the brackets, it will pick the specific photo corresponding to the selection via the picker?

Accepted Reply

So, you can close this one as well now.

Replies

So, you can close this one as well now.

Claude... you got it

Yes, received it.