Latest 1.3
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit

Custom AlertView supports multiple modes 自定义AlertView 支持多种模式弹窗
If your swift version is less than 4, you can 如果你的swift版本是4.0以下, 你可以


Image text

代码调用方式 是仿系统的 如果你遇到的需求是 全局使用同样样式的弹窗 你可以封装一个Manger 来管理 代码底层使用VFL 你可以自己修改他的尺寸,

Code calls are system-like if you encounter a requirement that the same style of pop-up windows be used globally you can encapsulate a Manger to manage the underlying code using VFL and you can modify its size yourself.

let view = AEAlertView(alertViewStyle: .Default)

view.title = "Title"

view.message = "Message"

let cancel = AEAlertAction(title: "cancel", style: .Cancel) { (action) in


  print("cancel 点击")


view.addAction(action: cancel)

let confirm = AEAlertAction(title: "confirm", style: .Default) { (action) in

  print("confirm 点击")


view.addAction(action: confirm)

Latest podspec

    "name": "AEAlertView",
    "version": "1.3",
    "summary": "Support swift 4.0",
    "description": "Support swift 4.0  If you go to project swift version 4, you can pod >'1.1'",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Allen": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "v1.3"
    "source_files": "AEAlertView/Classes/*.{swift,swift}",
    "frameworks": "UIKit",
    "requires_arc": true,
    "swift_version": "4.0"

Pin It on Pinterest

Share This