I have an UIImageView
which I have to give a rotation animation effect (starts rotating when the view appears and rotates constantly until that view disappears). I found this simple answer in another question: UIView Infinite 360 degree rotation animation?
But my question is how can i set the duration to the time until the view disappears. And also,what should I set the value of repeat count in my scenario.