开发者

How do I show a small option view on clicking bar button item?

开发者 https://www.devze.com 2023-03-03 18:40 出处:网络
I have a requirement to pop up a small option-view on clicking bar button item, similar 开发者_开发百科to this image.

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.

How do I show a small option view on clicking bar button item?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消