Latest1.0.0
Homepagehttps://github.com/aasdsjk/CustomAlertView
LicenseMIT
Platformsios 8.0
Authors

CustomAlertView

自定义 view

导入头文件 #import "UIView+CustomAlertView.h"

//创建view

//只需要 宽和高

CustomAlertView *alert = [[CustomAlertView alloc] initWithFrame:CGRectMake(0, 0, 200, 200)];

//调用即可实现

[alert showInWindowWithMode:CustomAnimationModeAlert bgAlpha:0.2 needEffectView:YES];

//隐藏view

[alert hideView];

//关闭背景点击事件
UIView *vi = [[UIApplication sharedApplication].keyWindow viewWithTag:TagValue];
vi.userInteractionEnabled = NO;

Latest podspec

{
    "name": "SJKAlertView",
    "version": "1.0.0",
    "summary": "u81eau5b9au4e49u89c6u56feu5f39u51fau52a8u753b",
    "description": "u81eau5b9au4e49u89c6u56feu591au79cdu5f39u51fau52a8u753bu5c01u88c5",
    "homepage": "https://github.com/aasdsjk/CustomAlertView",
    "license": {
        "type": "MIT",
        "file": "FILE_LICENSE"
    },
    "authors": {
        "u5b8bu5efau9b41": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/aasdsjk/CustomAlertView.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "Animation",
        "SJKAlertView/Animation/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This