摘要:
使用前 需引入QuartzCore.framework, 并在相关文件中加入#import "QuartzCore/QuartzCore.h"定义 shakeFeedbackOverlay为UIImageView设置 self.shakeFeedbackOverlay.alpha = 0.0; self.shakeFeedbackOverlay.layer.cornerRadius = 10.0; //设置圆角半径1、图像左右抖动 CABasicAnimation* shake = [CABasicAnimation animationWithKeyPath:@" 阅读全文