iOS将一个UIView放到父容器的最上层

parentView.bringSubview(toFront: childView)

其实就这么一句话,parentView代表父容器,childView代表子View,也就是你想放到最上层的View

0 0 vote
Article Rating
Subscribe
提醒
guest
0 评论
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x