Skip to content

仿抖音评论触底反弹的效果,支持毛玻璃背景蒙层样式等

License

Notifications You must be signed in to change notification settings

WangGuibin/WGBCommonAlertSheetView

Repository files navigation

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修改名字了,以前的google邮箱密码都忘记了,绑定的手机也丢失了没法验证...大写的尴尬!!!

pod 'WGBCommonAlertSheetToolView'

Author

Wangguibin, [email protected]

License

WGBCommonAlertSheetView is available under the MIT license. See the LICENSE file for more info.