Before presenting the popover, add the Cancel button to the popover's passthroughViews array.
Up vote 1 down vote favorite share g+ share fb share tw.
I've got a modal view that has "Cancel" button (the button dismisses modal). In the modal, I'm shoving a small UIPopover. What I'm trying to achieve is: When the UIPopover is visible, if uset touches "Cancel" it will do both: hide popover (it's happening now, since that's the click outside popup) hide modal - as if user touched "Cancel" without popup Is there a way to do it?
UIPopoverControllerDelegate is not providing any help (or I'm not seeing it :) ) Thanks :) ios ipad uipopovercontroller link|improve this question asked Apr 5 '11 at 9:05Solo383.
Before presenting the popover, add the Cancel button to the popover's passthroughViews array: popoverController. PassthroughViews = NSArray arrayWithObject:cancelButton; This will let the Cancel button respond to touches while the popover is displayed without automatically dismissing the popover. Then in your Cancel button's action method, call dismissPopoverAnimated: on the popover before dismissing the modal view.
You'll need to keep a reference to the popover in an ivar (eg. PopoverController) to do this.
Thanks, that exactly the property I needed :) Btw I cannot upvote, not enough rep :/ – Solo Apr 5 '11 at 15:51.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.