I have a MasterDetailView iPad application. I want to show the masterView when I click a button on detailViewController and dismiss it back when I click anywhere on the detailView other than the button. How can I do it? I would really appreciate your answers. Thanks.