![enter image description here](https://i.stack.imgur.com/G6iwf.png)

I've created a UIViewController, and insert a container view in it, which embed a UITableViewController. As the image described above.

When user click the Table View Cell, I'd like to add a UIBarButton on the Navigation bar.

But, how can I manage this? I can rise the DatePicker when click on Table View Cell, but when I call self.presentingViewController in table view controller implementation file, it returns (null), same as when I call self.parentViewController