简体   繁体   中英

How do I put a SuperView on top of a SubView?

I want to put a SuperView (with a transparent background) on top of my SubView. Is there a way of doing that?

Thanks in advance!

  1. Remove your "SubView" from your parent view.

  2. Add your "SuperView" as a subview of your parent view.

  3. Add your "SubView" as a subview of "SuperView".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM