Hi,
I have a ViewController1 which has one button named "show".
When I click on "show" it displays ViewController2 as popover.
ViewController2 has a button "Close".
What I want, when I click on "Close" button from ViewController2 it should be dismissed/disappear.
Note: When I click on any other place on the screen ViewController2 disappears, and this is ok.
I have a ViewController1 which has one button named "show".
When I click on "show" it displays ViewController2 as popover.
ViewController2 has a button "Close".
What I want, when I click on "Close" button from ViewController2 it should be dismissed/disappear.
Note: When I click on any other place on the screen ViewController2 disappears, and this is ok.