CVCustomActionSheet 0.11

CVCustomActionSheet 0.11

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布上次发布2015年4月

Coulton Vento 维护。



这是一个超级简单的、可定制的 iOS 8 风格 ActionSheet... 现在还有 blocks!

使用方法

  1. 引入 “CVCustomActionSheet.h”
  2. 初始化
CVCustomActionSheet *actionSheet = [[CVCustomActionSheet alloc] init];
  1. 添加动作
[actionSheet addAction:[CVCustomAction actionWithTitle:@"Option"
                                                  type:CVCustomActionTypeDefault
                                               handler:nil]];

[actionSheet addAction:[CVCustomAction actionWithTitle:@"Cancel"
                                                  type:CVCustomActionTypeCancel
                                               handler:nil]];
  1. 并展示!
[actionSheet show];

自定义

查看 CVCustomActionSheetButtonConfiguration.h,您可以自定义几乎所有内容。