标签:
CNPGridMenu
CNPGridMenu
is a Mailbox style grid menu with a blurred background for iOS 7 & iOS 8.
CNPGridMenu是一个邮箱网格风格的菜单,调出菜单的同时模糊背景,支持iOS7与iOS8.
Usage - 使用
You can create items for the grid menu using CNPGridMenuItem
.
你可以通过CNPGridMenuItem创建网格的items。
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) UIImage *icon;
@property (nonatomic, copy) SelectionHandler selectionHandler;
You can choose the blur style. UIBlurEffectStyleDark
UIBlurEffectStyleLight or
UIBlurEffectStyleExtraLight
你可以使用模糊背景的风格,支持3种,UIBlurEffectStyleDark,UIBlurEffectStyleLight 与 UIBlurEffectStyleExtraLight。
@property (nonatomic, assign) UIBlurEffectStyle blurEffectStyle;
Requires iOS 7 or iOS 8
需要iOS7或者iOS8
Pod "CNPGridMenu"
Or if you don‘t want to use Cocoapods #import "CNPGridMenu.h"
如果你不想用Cocoapods,你可以直接导入头文件“CNPGridMenu.h”
标签:
原文地址:http://www.cnblogs.com/YouXianMing/p/4191019.html