If you add View Controllers (myViewControllerOne.view) to the UIScrollView — and then create them accordingly for horizontal display — when the user interacts with that view inside the scroll view methods in the view controller, it is called.
By this, I mean that if you have MyViewControllerOne.view as an additional view inside your scroll, when you go to this scroll view page and click the button, the attached method (IBAction, etc.) in MyViewControllerOne will be called.
This should provide you with all the necessary functions, such as adding interface elements, tables, another scroll view, etc. These items will be controlled from their source view controller.
Hope this helps!
Racheld
source share