Reputation: 4728
i have UIimageView named as myImage.
i need to display a button on the left side of my image view.
however when i am running my app,the image view hiding the button.so cant able to show a button on top of the image view .please can any one help me...
Upvotes: 0
Views: 426
Reputation: 22334
Add the button as a subview of the imageview...
[myImageView addSubview:myButton];
Then...
[myImageView setUserInteractionEnabled:TRUE];
Upvotes: 2