I have added an imageview, and i am trying to add an button over it. How to do it.
self.imgview = [UIImageView alloc]initWithImage:[UIImage imageNamed:@"f.png"]];
[self.imgview addSubView:button];
[self.view addSubView:imgView];
What i get is the f.png Image, i dont see the button that i added over it. How could i resolve this ?
I have no idea what is wrong and i have been stuck in this problem for hours. I need your help
You need to set the views’ frames: