bodacious
bodacious

Reputation: 6705

How can I achieve this style in iOS?

In my app, I'd like to show a popup screen within my UITableViewController screen listing a few options for the user to select from.

Similar to how the Facebook app works (unfortunately I have no requests) :(

Facebook friends requests table

So I have two questions:

1) The black, shaded frame we see here seems to be a common style that I see a lot, especially in iPad apps. Is this just coincidence that apps use the same style? Is it a 3rd party plugin that others are using? Or is it a new, native part of the iOS SDK?

2) If I am to build this subview myself, what kind of structure would be best? I'd thought of:

UIImageView (for the background) > 
    UILabel (containing the header)
    UITableView (containing my sub-table)

Thanks in advance

Upvotes: 2

Views: 116

Answers (1)

Oleg Trakhman
Oleg Trakhman

Reputation: 2082

It's UIPopoverController, native component for iPad, but not for iPhone. For iPhone use 3rd party frameworks, like this one: http://www.50pixels.com/blog/labs/open-library-fppopover-ipad-like-popovers-for-iphone/

Upvotes: 2

Related Questions