How do I show a small option view on clicking bar button item?
I have a requirement to pop up a small option-view on clicking bar button item, similar 开发者_开发百科to this image.
How can I achieve this? Any tutorial or link is highly appreciated.
I'm not sure this is available on iPhone but I know that on iPad UIPopoverController it looks so. Apple Documentation
You can find source code here to create PopoverController on iPhone !
You need to create an UIView and set for backgound you image. In this new view you can add UIButtons to let the user to select an option.
精彩评论