实现效果:当长按图标时,图标抖动,点击图标以外区域时停止抖动
工程下载:github工程下载
@interface ViewController ()
{
UIImageView *imageView;
}
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
imageView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0,