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
Written by Alex Hajdu
Related protips
1 Response

UPDATE: added new methods: stop, pause and resume.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Xcode
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#