I am trying to make a UIPageViewController
which can also be swiped from the navigation bar. Tinder ios app has a good example of this.
I cannot add the navigation bar inside the content view controllers, because the navigation bar is dynamic and animates as you swipe between pages.
So far my architecture is like this:
MainVC: UIVC
-Contains UIPageViewController inside it
-Contains Navigation bar inside it
-Contains data for VC1 and VC2
How do I achieve swipe input from navigation bar and affect UIPageVC?