Reputation: 3206
How can you create a UIPopOverController
that looks like this:
Is it a custom UIView
, or some form of UIPopOverController
?
Upvotes: 5
Views: 1673
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
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