There was an issue with the implementation which I have fixed now and it worked.
We had UIButtons and not UIBarButton but due to some earlier issue with method presentPopoverFromRect
(there were issues when orientation of the ipad changes), we were presenting the popovers this way:
UIButton *control = (UIButton *) sender;
UIBarButtonItem *barButtonItemView = [[UIBarButtonItem alloc] init];
[barButtonItemView setCustomView:control];
[self.popover presentPopoverFromBarButtonItem:barButtonItemView permittedArrowDirections:UIPopoverArrowDirectionRight animated:YES];
it wasn't required. the below code fixed the issue:
[self.popover presentPopoverFromRect:[sender bounds] inView:sender permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];
// comment the below line if only toggle feature is expected to close the popover
[self.popover setPassthroughViews:self.tileMenu.tileMenuButtonsArray];