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文件。