WGBCommonAlertSheetView
示例
要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install
用法
UITableView *tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, screenWidth, 500) style:(UITableViewStylePlain)];
tableView.backgroundColor = randomColor;
WGBCommonAlertSheetView *sheet = [[WGBCommonAlertSheetView alloc] initWithFrame:UIScreen.mainScreen.bounds containerView:tableView];
sheet.isNeedBlur = arc4random()%2;
sheet.blurStyle = arc4random()%2+1;
sheet.touchDismiss = YES;
[sheet show];
需求
支持 iOS8.0+
安装
WGBCommonAlertSheetView 可通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile 中
pod 'WGBCommonAlertSheetView'
作者
王贵宾, [email protected]
许可证
WGBCommonAlertSheetView可在MIT许可证下使用。详见LICENSE文件以获取更多信息。