I need to change background image of button several times, I would like to use sequence of images to change background on click but I couldn't find any Swift documentation.

Maybe someone knows how to do that ?