I'm developing an iOS app with Xcode and Swift.
Decleare outlet like and connect:
@IBOutlet var scrollView: UIScrollView?
Set its content size using
contentSize method like this:
self.scrollView!.contentSize = CGSize(width:1234, height: 5678)
Set Y position of last UI content plus its height too to the
height: 5678 parameter. So you will be able to see all contents.