Is it possible to set an image over an other image,
respectively to overlay an image above an UIImage.
I give some code:
-
Headerfile:
@property (nonatomic,assign)UIImageView* imageView; -
Implementationfile
UIImage *overlayImage = [UIImage imageNamed:@"lamp.png"];
The “imageView.image” has got an image and above that I will have this lamp, but later on it has to be possible to move it.
I searched some methods, but all methods gave me warnings.
Could you help me how to manage it? And is Core Animation an alternative to handle that?
Just add it as a subview.
UIImageViewis aUIViewlike any other.