[Solved] Want to create a blowing candle [closed]
Get some images of blowing candle from ur graphix team and use this code to animate them NSArray *imagesArray=[NSArray arrayWithObjects: [UIImage imageNamed:@”blowingCandle1.jpg”], [UIImage imageNamed:@”blowingCandle2.jpg”], [UIImage imageNamed:@”blowingCandle3.jpg”], [UIImage imageNamed:@”blowingCandle4.jpg”], nil]; UIImageView *blowCandleImageView=[[UIImageView alloc]initWithFrame:CGRectMake(0, 0,80, 240)]; blowCandleImageView.backgroundColor=[UIColor blackColor]; blowCandleImageView.animationImages=imagesArray; blowCandleImageView.animationDuration=1.0; blowCandleImageView.animationRepeatCount=0; [blowCandleImageView startAnimating]; [self.view addSubView:blowCandleImageView]; solved Want to create a blowing candle [closed]