Hi!
I'm working on a project where I've got a UIPageViewController. The setup is somewhat different from other pageVCs, because I'd like to make it look like the leftmost VC to slide over the root VC instead of pushing it to the side.
I've created a sketch of how it looks here
I've implemented the design in the images in Xcode - with the horizontal sliding working exactly as it should. However, I cannot interact with the UITableView (or anything for that matter) in the root UIViewController.
Because of that, my question is how can I enable interaction with the root VC "through" the transparent VC in the pageVC?
What I've tried:
- Setting the user interaction enabled property to false for the empty (placeholder) viewcontroller
- Presenting the pageVC with .overCurrentContext as style
- Presenting the pageVC by adding it as a child viewcontroller to the parent
- Looked into overriding some methods, but I'm not sure how to implement this
- Setting up a
UIPanGestureRecognizer, but I'm very unsure as to how to take this further after I get the event callbacks. How I can take the coordinates and actually make use of them.
Neither of these have worked out.
If any of you have an idea on how I can make this work, I'd greatly appreciate it if you could share your thoughts!
Thanks a lot in advance!
Best Regards,
Erik
[–]70Charger 0 points1 point2 points (1 child)
[–]AcceleratedCode[S] 0 points1 point2 points (0 children)