I have called this function after it is declared and everything works but the UIImageViews don\'t change their image. I would be very grateful for your help.
Not sure where you are updating your image either in main thread or background. Don't use sleep, Instead try updating your image in main thread asynchronously with delay.