I created the class myself with the same interface as the UIPopoverController, but generalized for the iPhone. It also allows you to customize the background and arrow for a popover. The hard part is calculating the correct rectangle for the arrow image and correctly resizing the background, but different from it is just the standard UIView content (adding subviews, etc.).
Here you can find an example project that includes the main popover classes: https://github.com/werner77/WEPopover
source
share