here is demo Code in Swift which you can use I Made a basic Code and you can modify it as per Your Requirement use table or collection in View as you require
here is my storyBoard Look
Constraint for scrollView ContentView [Must]
Here are outlets and code Required
and my simulator output is here
secondView
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.