MRJActionSheet
示例
要运行示例项目,请克隆存储库,然后首先从 Example 目录运行 pod install
MRJActionSheet *sheet = [[MRJActionSheet alloc] initWithTitle:@"标题" buttonTitles:@[@"第一", @"第二", @"第三", @"第四"] redButtonIndex:-1 defColor:nil actionSheetClickBlock:^(MRJActionSheet *actionSheet, int buttonIndex) {
}];
[sheet show];
安装
MRJActionSheet 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中
pod 'MRJActionSheet'
作者
[email protected],[email protected]
许可证
MRJActionSheet采用MIT许可证。更多信息请查看LICENSE文件。