user826955
user826955

Reputation: 3206

Customized UIPopoverController?

How can you create a UIPopOverController that looks like this:

iPad UIPopoverController

Is it a custom UIView, or some form of UIPopOverController?

Upvotes: 5

Views: 1673

Answers (2)

Léo Natan
Léo Natan

Reputation: 57060

In iOS 5, it is now possible to subclass UIPopoverBackgroundView and override the popoverBackgroundViewClass of your UIPopoverController. This way you can achieve what you see in the pic without having to reinvent the wheel of having to deal with a custom view and having to position it correctly.

Upvotes: 5

Jelle
Jelle

Reputation: 1034

As far as I can tell it is just a custom UIView, with a background image, a layer that does the shadow, and some child elements on it. It is not really that hard to make actually, so go for it.

Upvotes: 1

Related Questions