Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Customized UIPopoverController?

How can you create a UIPopOverController that looks like this:

iPad UIPopoverController

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

like image 806
user826955 Avatar asked May 07 '12 17:05

user826955


1 Answers

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.

like image 174
Léo Natan Avatar answered Sep 20 '22 06:09

Léo Natan