Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/37.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 将UIImage叠加添加到UITableViewCell';s imagesview.image_Iphone_Objective C_Xcode_Image Processing_Uiimage - Fatal编程技术网

Iphone 将UIImage叠加添加到UITableViewCell';s imagesview.image

Iphone 将UIImage叠加添加到UITableViewCell';s imagesview.image,iphone,objective-c,xcode,image-processing,uiimage,Iphone,Objective C,Xcode,Image Processing,Uiimage,我有一个主要是透明的图像,我想将其作为覆盖添加到UITableViewCell的imageView.image 但是我不知道怎么做。我需要合并图像吗?或者我可以把一个加在另一个上面吗 如果你能提供关于这个问题的代码,那就太好了 我设法解决了这个问题: [cell insertSubview:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ListViewAlbumOverlay.png"]] belowSubview:cell.i

我有一个主要是透明的图像,我想将其作为覆盖添加到UITableViewCell的imageView.image

但是我不知道怎么做。我需要合并图像吗?或者我可以把一个加在另一个上面吗


如果你能提供关于这个问题的代码,那就太好了

我设法解决了这个问题:

[cell insertSubview:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ListViewAlbumOverlay.png"]] belowSubview:cell.imageView];

我设法解决了这个问题:

[cell insertSubview:[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"ListViewAlbumOverlay.png"]] belowSubview:cell.imageView];