I have a few screens worth of content within my UIScrollView which only scrolls vertically.
I want to programmatically scroll to a view contained somewhere in it\'s
It is important to point out for any of you beginners out there that you will need to link the UIScrollView from your story board into you code then use the extension ".nameoffunction"
For example:
you import your UIScrollView to your code and name it bob.
you have an extension script written like the one above by "dyson returns"
you now write in your code:
"bob.scrollToTop"
This attached the extension function "scrollToTop" to you UIScrollView in the storyboard.
Good luck and chin up!