Bringing a subview to be in front of all other views

前端 未结 8 1907
走了就别回头了
走了就别回头了 2020-12-07 13:24

I am working on integrating an ad provider into my app currently. I wish to place a fading message in front of the ad when the ad displays but have been completely unsuccess

8条回答
  •  旧时难觅i
    2020-12-07 13:38

    In c#, View.BringSubviewToFront(childView); YourView.Layer.ZPosition = 1; both should work.

提交回复
热议问题