简体   繁体   中英

How to create iphone toolbar - dropdown/expanded menu

What's the best way to create "Expanded toolbar menus"?

Example:

屏幕截图

It looks like it's just a subview. You could create it in IB and position it so that it's over the button that was used to bring it up. I would probably add it to the main view in IB but make it initially "hidden" so that when the trigger button is touched, all you have to do is unhide the view. Or you could load it from its own NIB.

Luke, I use this on my applications, it's very similar to UIPopoverController and you can use on the iPhone.

https://github.com/werner77/WEPopover

我发现它叫做popover -UIPopoverController-仅在iPad上可用,因此我必须从头开始创建它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM