简体   繁体   中英

Make an overlapped view

I would like to make two UIViews . One of them will be fixed in the background with less opacity and the other above will be scrollable. Can I do this?

Yes you can do that. Its quite simple to do that implementation. You create 2 UIView's in the NIB file, one above the other ( in an hierarchy point of view). YOu can set the opacity of the one above, so you can see the one behind. Then, just drop an UIScrollView in the front one. If you need more help with specifics just reply. :)

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