I want to recreate the rotating minus button that Apple uses in it’s UITableViews when in edit mode. You can see the animation in this video on YouTube.
Is there a way to embed this button (and animation) into my own view somewhere else? Or do I actually have to recreate it? Would I need images for each state?
In addition, here is a picture of the button mid-animation from that video.

Thanks!
Creating a button and using the shadow properties of the
layerattribute won’t work because when the image rotates, you don’t want the shadow to also rotate. I recreated this effect by doing the following. I created two images that were 35px square. Once calleddelete-icon-bg.pngand one calleddelete-icon-dash.png.delete-icon-bg.pngis just the red circle style like I want it, and thedelete-icon-dash.pngis a transparent png with a white dash centered where I want it over the background. Then I configure the button like so:The method
didTouchDeleteButton:then looks like this: