摘要:
UIImage * image = [UIImage imageNamed:@"xqx.jpg"]; self.imageView.image = image; CABasicAnimation * shake = [CABasicAnimation animationWithKeyPath:@"transform.rotation.z"]; shake.fromValue = [NSNumber numberWithFloat:-M_PI/45];//45可以修改,越小,摆动的幅度越大 shake.toValue = [NSNumber numberW 阅读全文