UIPopOver from MKAnnotation callout
Posted
by Nithin
on Stack Overflow
See other posts from Stack Overflow
or by Nithin
Published on 2010-05-06T06:12:47Z
Indexed on
2010/05/06
6:18 UTC
Read the original article
Hit count: 793
Hi all, i'm developing an application for iPad. I have a mapview with several annotations. I need to show a pop-over when the accessory callout method is called, so that the arrow of the popover will point towards the annotation. I am trying to use 'initWithRect' method of the popover, but i'm not getting the co-ordinates(the CGRect in view) of the annotation correctly. How can i get the co-ordinates of an annotation? I need to find out the location of that annotation in the view.
© Stack Overflow or respective owner