Liqiankun / DLAlertView

AD AlertView 广告弹框

Repository from Github https://github.comLiqiankun/DLAlertViewRepository from Github https://github.comLiqiankun/DLAlertView

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

Features

  • Easy to use
  • Support text,image,images
  • 使用简单
  • 同时支持文字,图片和多图

How to use

//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

About

AD AlertView 广告弹框

License:MIT License


Languages

Language:Objective-C 100.0%