I’ve got the following situation. I have a viewController with labels and a tableViewController, containing questions and answers. Answers have a score. So far, I went to the next question after choosing an answer at a certain question.
Now I like to implement a pageViewController so I can swipe thru the questions, and I want to keep track of the score after chosing an answer.
You can absolutely keep a label, linked to a variable (stored on your pageViewController) added on your pageViewController’s view which remain visible no matter the controller presented. You can also add a protocol on your viewControllers, implement it on your pageCollectionView to increment your score for each answer given.