I have a nested UIViewController that covers half of the screen.
Under this controller there is the parent ViewController.
I would like to propagate only the lateral swipe events to the bottom (parent) controller.
I think I should use the following func
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
return (my test)
})
}
but I also know that this func should be applied to a UIView, not to a UIViewController. So I'm stuck, and I don't know how to proceed.
You can create
and assign it to the child's vc'view in IB , you can also implement this inside the vc
Edit:
to propagate swipe actions to parent add a delegate and swipe actions to the child and when triggered notify the parent with the delegate