I lack the correct terminology, so itβs hard to find a solution for google / search search - however, I want the pop-up windowβs pointing arrow to point to different locations, take a look at the following image to see what I'm talking about
the questions
what is the name / term apple of this element
how to programmatically change its position
- this element is supported by the SDK itself as an element, and if the state
Thank you
You need the popoverArrowDirection property of your UIPopoverController . Set it to one of the UIPopoverArrowDirection values.
popoverArrowDirection
You can also specify the allowed direction in any of these functions to display a popover:
presentPopoverFromRect:inView:permittedArrowDirections:animated: presentPopoverFromBarButtonItem:permittedArrowDirections:animated:
try this, it can help you .....
[popoverController presentPopoverFromRect:CGRectMake(375, 230.0, 0.0, 0.0) inView:self.view permittedArrowDirections:UIPopoverArrowDirectionAny animated:YES];