主要用到方法: 1.定义一个数组存储图片,并实现动画: NSArray *hopAnimation; hopAnimation=@[ 0 [UIImage imageNamed:@"frame-1.png"], ……