05 2016 档案

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

点击右上角即可分享
微信分享提示