I am presenting a bottom banner over the current context:
self.bottomViewController.modalPresentationStyle = .overCurrentContext
self.present(self.bottomViewController, animated: true, completion:{
self.addChildViewController(self.bottomViewController)
self.bottomViewController.didMove(toParentViewController: self)
})
After presenting the modal view controller, I want the parent to still receive the touch events and takes control.
For some reasons I can't use the containment (add the view as subview and then animate the presentation)