Is the image view in IB or created programmatically?
To add an ImageView programmatically,
Code:
CGRect imageViewFrame = CGRectMake( 150.0f, 150.0f, 20.0f, 20.0f);
UIImageView *imageView = [[UIImageView alloc]initWithFrame:imageViewFrame];
[imageView setImage:[UIImage imageNamed:@"Default.png"]];
[self.view addSubview:imageView];
You could declare your imageView in your .h so that you can access it from anywhere in your .m. Also, you could change the CGRectMake(x,y,width,height) values to your requirement.
To add an ImageView using IB.
1. Drop an imageview from the library and place it where you want it to be seen in the view.
2. Create and IBOutlet & connect it to the imageview in IB
3. in your .m, set your image like this
Code:
imgViewOutlet.image = [UIImage imageNamed:@"Default.png"];
Hope this helps.