摘要:
使用前要在build phases中加入QuartzCore.framework还要#import <QuartzCore/QuartzCore.h>在我的代码中,newView和self.currentView应该是frame相同,两个叠在一起的,执行前new在下current在上重叠可以用[self.view insertSubview:newView atIndex:0];实现 1 // 使用Core Animation创建动画 2 3 // 创建CATransition对象 4 CATransition *animation = [C... 阅读全文
posted @ 2012-12-04 10:45
Entreri
阅读(199)
评论(0)
推荐(0)