UIImage *supermanImage = [UIImage imageNamed:@"superman.png"]; UIImage *moneyImage = [UIImage imageNamed:@"money.png"]; CGSize supermanSize = [supermanImage size]; CGSize moneySize = [moneyImage size]; // NSLog(@"s : %f,%f m : %f,%f", supermanSize.width, supermanSize.height, moneySize.width, moneySize.height); UIGraphicsBeginImageContext(supermanSize); [supermanImage drawInRect:CGRectMake(0, 0, supermanSize.width, supermanSize.height)]; [moneyImage drawInRect:CGRectMake(0, 0, moneySize.width, moneySize.height)]; UIImage *mergeImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); mergeImageView = [[UIImageView alloc] init]; mergeImageView.image = mergeImage; mergeImageView.frame = self.view.bounds; [self.view addSubview:mergeImageView];