美文网首页
一句话可以实现弹出视图,alertView,自定义alertVi

一句话可以实现弹出视图,alertView,自定义alertVi

作者: 毛毛虫惊碎花容 | 来源:发表于2017-04-11 17:08 被阅读0次

一句话可以实现弹出视图

实现效果如下

Untitled

使用方法:

  • 新建视图控制器

  • #import "MMAlertView.h"

  • 第三步 实例化

    MMAlertView *view =[[MMAlertView alloc ]initWithTitle:@"大标题" detailTitle:@"副标题" image:[UIImage imageNamed:@"alert3"] btnTitle:@"按钮图标"  detailHeight:(副标题高度)];
    
  • 加载到视图控制器

教程到此结束 有什么不懂得可以联系qq:517769958

代码下载地址 https://github.com/grammermao/MMAlertView

相关文章

网友评论

      本文标题:一句话可以实现弹出视图,alertView,自定义alertVi

      本文链接:https://www.haomeiwen.com/subject/atsuattx.html