I have a universal app. On the iPad, when pressing an annotation pin it shows the callout bubble. When I press the desclosure button, it loads a uipopovercontroller with a detailed view. What I want to know is how I can load t开发者_JAVA技巧he uipopovercontroller the same way the Google Maps load the uipopovercontroller. Is there a guide out there to get just at neat?
Best regards,
Paul PeelenThat popover in google maps appears to be a custom view, not an UIPopoverController supplied popover. Notice that the color of the callout popover is different from the color of the recent searches popover.
To get the same effect as google maps' callout, you'll need to make a custom view that looks like a popover, and add it as a subview of your map view.
精彩评论