0

I'm developing an app and I want to have a popup list view similar to the one in Safari on iOS:

enter image description here

This kind of popup with the little speech bubble style arrow and a thin border appears on a number of apps. Is it a standard component? If so how can I create one?

James Andrews
  • 3,257
  • 3
  • 31
  • 45
  • 1
    Is this for iPad? The [UIPopoverController](http://developer.apple.com/library/ios/#documentation/uikit/reference/UIPopoverController_class/Reference/Reference.html) is exclusive to iPad (not available on iPhone). – Marcus Adams May 29 '13 at 18:51
  • The question is similar but I was specifically looking for the default implementation for the iPad. – James Andrews May 29 '13 at 19:09

2 Answers2

1

It's called UIPopoverController.

You create it with it's designated initializer

– initWithContentViewController:

I strongly recommend you to read its docs:

Bruno Koga
  • 3,864
  • 2
  • 34
  • 45
0

If you are developing for the iPad, use a UIPopoverController. However, popovers are not supported on the iPhone natively. Instead of using the popover on the iphone, I would created a new scene that contains what you wanted int your popover.

However, if you are committed to using a popover on the iPhone, there are a variety of third party APIs that you can take a look at. WEPopover is one of the more popular ones.

grodier
  • 101
  • 4