Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google maps style uipopovercontroller

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 the uipopovercontroller the same way the Google Maps load the uipopovercontroller. Is there a guide out there to get just at neat?

Best regards,
Paul Peelen

like image 220
Paul Peelen Avatar asked May 12 '10 17:05

Paul Peelen


1 Answers

That 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.

like image 107
Paul Scott Avatar answered Oct 08 '22 12:10

Paul Scott