Last Updated: February 25, 2016
·
2.201K
· alexhajdu

How to easily rotate UIImageView 360°

Just import and use my simple UIImageView category.

#import "UIImageView+Rotate.h"

// repeatCount 0 for infinity loop
[_myImageView rotate360WithDuration:13 repeatCount:0]; 

gist: https://gist.github.com/alexhajdu/5658543
Direct download: https://gist.github.com/alexhajdu/5658543/download

1 Response
Add your response

UPDATE: added new methods: stop, pause and resume.

over 1 year ago ·