05 2016 档案
摘要:// UIView *paddingView1 = [[UIView alloc] initWithFrame:CGRectMake(0, 64, self.view.frame.size.width, 50)];// paddingView1.backgroundColor = [UIColor
阅读全文
摘要:首先,一直以为摇一摇的功能实现好高大上,结果百度了。我自己也模仿写了一个demo。主要代码如下: 新建一个项目,名字为AnimationShake。 主要代码: - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event
阅读全文