In my app, I presented a modal view. In modal view, I taken a view(Extraview) which contains a table view & a button.
from this button, i open a popview which contains a view(LeftsideView).
-(IBAction)popOverBtnPressed:(id)sender
{
LeftSideVCViewController *popUp=[[LeftSideVCViewController alloc] initWithNibName:@"LeftSideVCViewController" bundle:nil];
popView = [[UIPopoverController alloc]initWithContentViewController:popUp];
popView.delegate =self;
[popView setPopoverContentSize:CGSizeMake(300, 700)];
[popView presentPopoverFromRect:CGRectMake(150,30,20,40) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
}


Now, I want to dismiss modal view on the selection of table row of leftside view.
How can i do this.
in your Issue Presenting PopOver is a different Class and dismiss Method is a Different Class So you need to Implementing
NSNotificationCenterlike Bellow:-add Notification at Your PopOVer Created Class in your
ViewDidLoadMethod:-Now you just need to call this method From your
LeftSideVCViewControllerclassUITableView DelegatemethoddidSelectRowAtIndexPathlike:-Hope it’s Helps you:)