ios - PageViewController hosted within a Container within a StackView/ScrollView -


i have viewcontroller following hierarchy using xcode 8 , swift 3:

view scrollview stackview container view pageviewcontroller pagecontroll tableview

my intent allow vertical scrolling via scrollview/stackview , working fine.

the container view hosts pageviewcontroller , pagecontrol both of created programmatically vs. storyboard.

my problem can't find way support vertical scrolling of entire page while supporting swiping left/right within pageviewcontroller.

if add pageviewcontroller.view master page via:

self.view.addsubview((self.pageviewcontroller?.view)!)

the swiping between pages in pageviewcontroller works fine upper portion of page doesn't scroll scrollview.

if add pageviewcontroller.view container via:

self.containerview.addsubview((self.pageviewcontroller?.view)!)

while vertical scrolling works fine swiping left , right on pageviews doesn't.

footnote entire viewcontroller hosted within navigationcontroller drill in feed type view.

thanks in advance suggestions.

cheers, mike


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -