I have an image displayed using CGRect (code below). the problem is that it's obscuring UIButtons I have in the nib file.
CGRect myImageRect = CGRectMake(0.0f, 40.0f, 480.0f, 280.0f);
UIImageView *myImage = [[UIImageView alloc] initWithFrame:myImageRect];
[myImage setImage:[UIImage imageNamed:recipe.image]];
[self.view addSubview:myImage];
[myImage release];
if I make the CGRect smaller, the UIButtons are there. I can't figure out how to fix this, any help is very appreciated.
thanks