WGBCommonAlertSheetView
Example
To run the example project, clone the repo, and run pod install
from the Example directory first.
Usage
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];
Requirements
Support iOS8.0+
Installation
WGBCommonAlertSheetView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'WGBCommonAlertSheetView'
Author
Wangguibin, [email protected]
License
WGBCommonAlertSheetView is available under the MIT license. See the LICENSE file for more info.