摘要: 项目需要适配ios7,在启动页面原来ios6可以运行的alertView上加addsubView已经不起作用,所以决定自己写一个alertView。思路也就是自己做模态蒙板半透明的,给view做show,和close的动画。下面上代码,动画部分是直接取自己code4上面的。点击按钮#import - (void)show{ self.STAlertView.center = self.view.center; [self.view addSubview:self.STAlertView]; CAKeyframeAnimation *popAnimation = [CAKey... 阅读全文
posted @ 2013-10-15 09:52 Asial 阅读(1271) 评论(0) 推荐(0) 编辑