Hi so I'm looking to fill my UIImageView with an image that I have in my files, and I don't want a specific one all the time, but a different one every other time.
That is why I created an array with the names of all the images that I would like to use.
The only problem is there is always this error, exc_bad_instruction (code=exc_i386_invop subcode=0x0)
, that constantly comes up everytime I try to run the code. Here is my code,
please help: Also I am running xcode version 7 if that makes any difference.