To run the example project, clone the repo, and run pod install
from the Example directory first.
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];
Support iOS8.0+
WGBCommonAlertSheetView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod修改名字了,以前的google邮箱密码都忘记了,绑定的手机也丢失了没法验证...大写的尴尬!!!
pod 'WGBCommonAlertSheetToolView'
Wangguibin, [email protected]
WGBCommonAlertSheetView is available under the MIT license. See the LICENSE file for more info.