Possible Duplicate:
How to set this Layout in iPhone need Some help
I draw image in ima开发者_如何学Pythongeview.
I have one image view and Button is there.
When i draw something it show like this,
I dont wan't to show drawing on that button.
How can i do that?
There are 2 approaches:
1) You can do this IB:
Drag your UIImageView
in IB to bottom of your stack subviews of view where your UIView
(where you are drawing) is placed.
2) You can do this in code:
Push your view on the top of views using following method
- (void)bringSubviewToFront:(UIView *)view
For example:
UILabel * labelgreen;
[labelgreen.superview bringSubviewToFront:labelgreen];
精彩评论