文章来源:淘论文网   发布者: 毕业设计   浏览量: 28



还可以点击去查询以下关键词:
[一个]    [高度]    [自定]    [定制]    [alertController]    [一个可高度自定定制义alertController]   

项目介绍:

ScottAlertView

can display on controller and window,support custom view, custom animation, use AutoLayout,support iPhone,iPad.

Down load

click me down load source code

Requirements

Xcode 5 +

iOS 7.0 +

ARC

How to use

show in controller

ScottAlertView *alertView = [ScottAlertView alertViewWithTitle:@'ScottAlertView' message:@'这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字.']; [alertView addAction:[ScottAlertAction actionWithTitle:@'取消' style:ScottAlertActionStyleCancel handler:^(ScottAlertAction *action) { }]]; [alertView addAction:[ScottAlertAction actionWithTitle:@'确定' style:ScottAlertActionStyleDestructive handler:^(ScottAlertAction *action) { }]]; ScottAlertViewController *alertController = [ScottAlertViewController alertControllerWithAlertView:alertView preferredStyle:ScottAlertControllerStyleAlert transitionAnimationStyle:ScottAlertTransitionStyleDropDown]; alertController.tapBackgroundDismissEnable = YES; [self presentViewController:alertController animated:YES completion:nil];

show in window

ScottAlertView *alertView = [ScottAlertView alertViewWithTitle:@'提示' message:@'这是一个显示在窗口的alertView']; ScottAlertAction *action = [ScottAlertAction actionWithTitle:@'好的' style:ScottAlertActionStyleDestructive handler:nil]; [alertView addAction:action]; [ScottShowAlertView showAlertViewWithView:alertView backgroundDismissEnable:YES];

show with blur effect

UIImage *img = [UIImage scott_screenShot]; img = [UIImage scott_blurImage:img blur:0.4]; ScottAlertView *alertView = [ScottAlertView alertViewWithTitle:@'ScottAlertView' message:@'这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字这是一段描述文字.']; [alertView addAction:[ScottAlertAction actionWithTitle:@'取消' style:ScottAlertActionStyleCancel handler:^(ScottAlertAction *action) { }]]; [alertView addAction:[ScottAlertAction actionWithTitle:@'确定' style:ScottAlertActionStyleDestructive handler:^(ScottAlertAction *action) { }]]; ScottAlertViewController *alertController = [ScottAlertViewController alertControllerWithAlertView:alertView preferredStyle:ScottAlertControllerStyleAlert transitionAnimationStyle:ScottAlertTransitionStyleFade]; UIImageView *imgView = [[UIImageView alloc] initWithImage:img]; imgView.userInteractionEnabled = YES; alertController.backgroundView = imgView; alertController.tapBackgroundDismissEnable = YES; [self presentViewController:alertController animated:YES completion:nil];

Contact

if you found a bug, open an issue

if you need help, open an issue

if you have a new demand, also open an issue

论文开题报告


这里还有:


还可以点击去查询:
[一个]    [高度]    [自定]    [定制]    [alertController]    [一个可高度自定定制义alertController]   

请扫码加微信 微信号:sj52abcd


下载地址: http://www.taolw.com/down/8418.docx
  • 上一篇:iOS webservice请求
  • 下一篇:KYPushT毕业设计ransition