开发者

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 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 Peelen


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜