I created UIImageView
with the help of Interface Bulder. Now I want to place label inside it (as its subview). In code I can type something like: [myUIIma
Use this code:
UIImage *image = [UIImage imageNamed:@"background.png"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
[self.view insertSubview:imageView atIndex:0];
(replace background.png with image) (replace atIndex:0 with whatever place in the .index root you want to insert the image and your off.