I have a button in my app that has a background image. When the button is pressed I want it to rotate 90 degrees. The code below is my IBAction. It works perfectly the first tim
You always set the transform to 90 degrees. If you want to rotate an additional 90 degrees each time you tap the button you need to update the existing transform.