Xcode – How to make a UIPageControl in ViewController update when PageViewController is swiped
I have three classes OnboardingViewController, OnboardingPageViewController, and OnboardingContentViewController. In my ViewController class, I have a UIPageControl that updates whenever I press the UIButton "Next" beneath it. This is working as intended. However I want to make the UIPageControl updated according…