I've tried using the PageViewerViewController in order to pass through few pages in scrollMode. Like another question here in SO (I can't seem to find it tough) I want to capture the touch. so on viewDidLoad I searched through the Views in that controller and found the scrollView and just added a TapGestureRecognizer and it didn't work that well so I added self as its delegate and told him to work simultaneously with other GestureRecognizers and than it worked fine. The thing is, when I try to click on a UIButton on one of the pages, it doesn't recognize the click. and when I set the work simultaneously to off, it suddenly works fine.
What am I doing wrong?
More Info: I think I went all over the web with the following problem, and tried to write the code from scratch, tried to change the code, and adding another TapGestureRecognizer so far has the best outcomes.
I'm currently out of any ideas. Any advice is appreciated. Thank you.
For more clarification, I'm trying to captrue all touchStarted, touchMoved, touchEnded on UIPageViewerViewController in ScrollMode. I tried adding another UITapGestureRecognizer to the inner UIScrollView, to the superview of UIScrollView, to self.view of which the UIPageViewerViewController is added on. and when I remove the working simultanously my UITapGestureRecognizer stops working randomly. When I set the working simultanously to work, I'm not able to click any UIButton until I start another UIViewController. and then for some reason, it does work.
Edit I'm only using 3 pages, is UIScrollView better?
I changed everything to just a UIScrollView, when I remove the UITapGesureRecognizer, everything works fine, I receive touches, and everything runs smoothly.
Is there any other way than UITapGestureRecognizer added to UIScrollView to capture touch?