I am displaying a popover to be presented in a view but leaving some space at the top.
I am using presentPopoverFromrect:inView:permittedArrowDirections:
but apart from passing the view I also want to restrict the popover within the view within a rectangle.
which means , the popover should not go outside this rect in the view and also adjust arrows accordingly. Is there a way that this can be made possible ?