https://github.com/liqiankun/dlalertview
AD AlertView 广告弹框
https://github.com/liqiankun/dlalertview
ads alert alertview
Last synced: 6 months ago
JSON representation
AD AlertView 广告弹框
- Host: GitHub
- URL: https://github.com/liqiankun/dlalertview
- Owner: Liqiankun
- License: mit
- Created: 2016-07-27T06:30:28.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-15T02:18:30.000Z (about 7 years ago)
- Last Synced: 2025-03-27T00:22:15.595Z (7 months ago)
- Topics: ads, alert, alertview
- Language: Objective-C
- Homepage:
- Size: 5.31 MB
- Stars: 33
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

One simple alertView supports text,image,imgaes.
一个支持文字,图片和多张图片的弹出框。

# Features
- [x] Easy to use
- [x] Support text,image,images
- [x] 使用简单
- [x] 同时支持文字,图片和多图# How to use
```OC
//ImageView
DLAlertView *alertView = [[DLAlertView alloc] initWithWithImage:[UIImage imageNamed:@"typewriter"] clickCallBack:^{
NSLog(@"clickCallBack");
} andCloseCallBack:^{
NSLog(@"andCloseCallBack");
}];
[alertView show];
//TextView
DLAlertView * alertView = [[DLAlertView alloc] initWithWithText:@"DLAlertView一个简单但是体验还不错的AlertView。使用简单,支持图片和文字两种形式。" font:[UIFont systemFontOfSize:16] textColor:[UIColor lightGrayColor] clickCallBack:^{
} andCloseCallBack:^{
}];
[alertView show];
//ScrollView
NSArray *images = @[@"01",@"02",@"03",@"04",@"05"];
DLAlertView *alertView = [[DLAlertView alloc] initWithWithImages:images clickCallBack:^{
} andCloseCallBack:^{
}];
[alertView show];
```# Requirements
- Xcode 7.0 or greater
- iOS8.0(manually only) or greater# Author
David Lee, qiankunli@yahoo.com