Hello,
I'm using a popover to display information about the object the user clicked on. The problem is that sometimes this popover goes on top of a graphical component that need to stay visible.
The solution would be to tell my UIPopverController to be displayed strictly inside a specific zone even if the anchor point is at the border of this zone (the same thing that is happening when a popover need to be displayed near screen borders).
Setting the view as the popover container doesn't work as the popover can be displayed out of it :
[self.aPopover presentPopoverFromRect:popOverFrame inView:self.textView
permittedArrowDirections:UIPopoverArrowDirectionRight animated:YES];
Do you know how to do that ?
Note that my objects are not buttons so I can't use the function
– presentPopoverFromBarButtonItem:permittedArrowDirections:animated: