开发者

How to set which control displays top when they overlap?

I have a UIView and a toolbar. I want the toolbar to always stay on top when they overlap. Is t开发者_StackOverflow社区here a property, like z-index in html stylesheet, for iphone controls?


You can call bringSubviewToFront for the control you want to be on the top.

[somesuperview bringSubviewToFront:yourtoolbar];
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜