XLActionSheet
示例
要运行示例项目,请克隆仓库,然后首先从示例目录运行 pod install
需求
安装
XLActionSheet 可以通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中
pod 'XLActionSheet'
用法
#import <XLActionSheet/XLActionSheetView.h>
示例:
[XLActionSheetView showActionSheetViewWithData:@[@"相机",@"相册"] showInfoKey:nil showTipKey:nil cancleTextColor:nil selectItemTextColor:nil backHandler:^(id _Nonnull result, NSInteger selectIndex) { NSLog(@"%@---%ld",result,(long)selectIndex); }];
作者
[email protected],[email protected]
许可协议
XLActionSheet遵循MIT许可协议。有关更多信息,请参阅LICENSE文件。