欢迎光临
我们一直在努力

TPopOverMenu

建站超值云服务器,限时71元/月

TPopOverMenu

项目介绍:

FTPopOverMenu

FTPopOverMenu

https://github.com/liufengting/FTPopOverMenu

FTPopOverMenu is a pop over menu for iOS which is maybe the easiest one to use, supports both portrait and landscape. It can show from any UIView, any UIBarButtonItem and any CGRect. Simplest APIs, enable you to change the style in one line of code.

FTPopOverMenu是iOS的一个弹出菜单,也许是最容易使用的一个,支持纵向和横向。 它可以从任何UIView,任何UIBarButtonItem和任何CGRect显示。 最简单的API,使您能够在一行代码中更改样式。

ScreenShots

screenshots

Usage

Customize

Do any of the following settings to set the style (Only set the ones you want to change), maybe do this when app starts or when you want it to show a different style, but remember it’s global change.

    FTPopOverMenuConfiguration *configuration = [FTPopOverMenuConfiguration defaultConfiguration];
    configuration.menuRowHeight = ...
    configuration.menuWidth = ...
    configuration.textColor = ...
    configuration.textFont = ...
    configuration.tintColor = ...
    configuration.borderColor = ...
    configuration.borderWidth = ...
    configuration.textAlignment = ...
    configuration.ignoreImageOriginalColor = ...;// set 'ignoreImageOriginalColor' to YES, images color will be same as textColor

code4app

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » TPopOverMenu
分享到: 更多 (0)