views:

39

answers:

1

For the iPad app I am writing I want a style of popover that is identical to the one used in Safari when you tap on the "+" UITabbarItem to add a bookmark or add the current Web page to the Home screen. Here is a screenshot of the popover I am refering to:

alt text

Can someone please identify the UIView subclass or subclasses that make up the contents of the popover?

Thanks,
Doug

A: 

That's a UIActionSheet. If you've got a UIBarButtonItem that's calling an action method, you can initialize the sheet as you usually would and then call -showFromBarButtonItem:animated: on it, passing in the bar button item as the first parameter.

Noah Witherspoon
Cool. Thanks so much Noah.
dugla