views:

60

answers:

2

Can anyone take a look a this ? : http://www.woowoomac.com/storage/awesome-note-iphone-note-todo-app-menus.jpg?__SQUARESPACE_CACHEVERSION=1268581762429

As we know iphone 4.0 does not support UIPopovers - any idea how did they manage to create a pop over like that ?

+2  A: 

Sublcass a UIView and display your content inside it. This way you can fake a pop over on the iPhone.

JustSid
+1  A: 

I created a class myself with the exact same interface as the UIPopoverController, but generalized for the iPhone. It allows you to customize the background and arrow for the popover as well. The tricky part is calculating the correct rectangle for the arrow image and resizing the background image properly, but other than that it's just standard UIView stuff (adding subviews, etc).

You can find a sample project including the core popover classes here: https://github.com/werner77/WEPopover

Werner Altewischer
Werner - I've been looking for such class on gitub but there is nothing like that.