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];
精彩评论