摘要: //震动效果- (void)shake:(UIView *)view{ CGRect frame = view.frame; CAKeyframeAnimation *shakeAnimation = [CAKeyframeAnimation animationWithKeyPath:@... 阅读全文
posted @ 2014-11-27 20:15 ZLK0011 阅读(214) 评论(0) 推荐(0) 编辑
摘要: CGRect frame = [[UIScreen mainScreen] applicationFrame];//获取窗口大小 UIView *theView = [[UIView alloc] initWithFrame:frame];//实例一个UIView theView.backgr... 阅读全文
posted @ 2014-11-27 20:14 ZLK0011 阅读(129) 评论(0) 推荐(0) 编辑