开发者

Problem regarding draw image [duplicate]

This question already has an answer here: Closed 11 years ago.

Possible Duplicate:

How to set this Layout in iPhone need Some help

I draw image in ima开发者_如何学Pythongeview.

Problem regarding draw image [duplicate]

I have one image view and Button is there.

When i draw something it show like this,

Problem regarding draw image [duplicate]

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.

Problem regarding draw image [duplicate]

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜